Can somebody tell me what is the problem with the following code ...
when I enter numbers they are added to string but this string can not be converted to integer.
Jure
Strict Global s$="" Global s2$="10" Graphics 800,600 While Not KeyHit(KEY_ESCAPE) Cls s:+Chr(GetChar()) DrawText "string s:"+s ,20,20 DrawText "integer s:"+Int(s),20,40 DrawText "string s2:"+s2 ,20,60 DrawText "integer s2:"+Int(s2),20,80 Flip Wend
when I enter numbers they are added to string but this string can not be converted to integer.
Jure