Re: [Gambas-user] readlink and hex to decimal
Brought to you by:
gambas
From: Reinhard O. <rei...@al...> - 2006-03-06 09:45:28
|
Am Montag, 6. M=E4rz 2006 06:14 schrieb R. Stormo: > Then you should put it in like a string 40FF . > input #hFile, myvar > myVar =3D "&H" & Myvar > > Print MyVar > > That should work. > > Your input does not mix hex or decimal? If it does maybee you hould save > your values with a delimiter to sort out if they are decimal or hex > Like h40ff > input #hFile, myvar > if instr(lower(myvar),"h")>0 then myvar =3D "&" & myvar > myVar =3D "&H" & Myvar > > Print MyVar hm,=20 the val() function will work but i find it not the right one! str() for Hex n=F6 n=F6! |