Le 01/12/2014 21:29, Tobias Boege a écrit :
> On Mon, 01 Dec 2014, Lewis Balentine wrote:
>>   >> Octal is normally not needed with Gambas. Do you have any use of
>> that? <<
>>
>> Neither is "binary" best I can tell. It is still convenient to have
>> these tools available. One may not always be dealing with numbers
>> originating in Gambas or output targeting Gambas.
>>
>> Hex$(), Dec$(), Oct$(), Bin$()
>>
>
> Why not just mirror strtol() from the C library to Gambas then? It does
> these things for all bases from 2 to 36.
>

Because strtol wants a zero-terminated string.

-- 
Benoît Minisini

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to