Login
Back to forumSee the full topicGo to last reply

Posted By

Rachy
on 2008-02-09
05:02:21
 Re: Writing CHR$(0)

BASIC does not store strings in null-terminated form. You can store 0 character value in strings, also you can use PRINT# command to store it in files. I don't know what went wrong in your case, SVS.

I have just tested it with Yape in IEC mode:
OPEN1,8,1,"TEST"RINT#1,"ABC"+CHR$(0)+"DEF":CLOSE1

The content of the file is:
41 42 43 00 44 45 46 0D



Back to top


Copyright © Plus/4 World Team, 2001-2024