Login
Back to forumSee the full topicGo to last reply

Posted By

SVS
on 2008-02-10
07:37:15
 Re: Writing CHR$(0)

SIZ, from my tests the CHR$(0) is not stored inside the file by PRINT#.
Infact reading data a byte a time by GET#, the resulting string is without the CHR$(0).

Example:
PRINT# "abc"+CHR$(0)+"def"
GET# B$.....A$=A$+B$ (7 times)
Result string A$ is "abcdef" (6 characters long)

Does this result to you too?



Back to top


Copyright © Plus/4 World Team, 2001-2024