[Gambas-user] An utility component for Gambas
Tobias Boege
taboege at ...626...
Mon Dec 1 21:29:13 CET 2014
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.
--
"There's an old saying: Don't change anything... ever!" -- Mr. Monk
More information about the User
mailing list