but the second part using While-wend only shows me the first character!
what's wrong ... or it kidding?

Code: Select all
;Decodeur
Restore cod:
repeat
read.i a
ad$=ad$+chr(a)
until a=0
debug ad$ ; jusque la ok !! mais ....
; *******************************************
ad$=""
Restore cod:
while a=0
read.i a
ad$=ad$+chr(a)
wend
debug ad$
; ******************************************
DataSection
cod:
Data.i 115,105,32,109,97,32,116,97,110,116,101,32,101,110,32,97,118,97,105,101,110,116,44,32,111,110,32,108,39,97,112,112,101,108,101,114,97,105,32,116,111,110,116,111,110,32,33,0
EndDataSection
;
; EPB