[Gambas-user] mkinteger..and the reverse function

Yahoo olivier.cruilles at ...614...
Sat Aug 1 15:49:10 CEST 2015


Oups, sorry

Olivier

> Le 1 août 2015 à 05:09, Benoît Minisini <gambas at ...1...> a écrit :
> 
> Le 01/08/2015 09:40, Olivier Cruilles a écrit :
>> hello,
>> 
>> myInteger = Cint(val(myString))
>> 
>> Olivier
>> 
>> 
>>> Le 1 août 2015 à 01:39, nando <nando_f at ...951...> a écrit :
>>> 
>>> I'm putting this out there...
>>> 
>>> I'm using MkInteger$, MkShort$
>>> 
>>> Who knows what the opposite functions would be.  I can't find them
>>> 
>>> 
>>> myString = MkInteger$(12345678)   'convert an integer to a string representation
>>> myInteger = ?? (myString)         'convert back to an integer
>>> 
>>> anyone?
>>> -Nando
> 
> No, its Integer@():
> 
> Print Integer@(MkInteger$(12345678))
> 12345678
> 
> Regards,
> 
> -- 
> Benoît Minisini
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user




More information about the User mailing list