6502 icon indicating copy to clipboard operation
6502 copied to clipboard

Add escaping to strings in list operation in BASIC

Open dbuchwald opened this issue 4 years ago • 0 comments

Currently BASIC lists strings with special characters in not so nice way:

New program will be stored at location 0x331e
OS/1 Basic>100 print "Hello \"World\" \\!"
OS/1 Basic>run
Hello "World" \!
OS/1 Basic>list
100 PRINT "Hello "World" \!"
OS/1 Basic>

dbuchwald avatar May 05 '20 19:05 dbuchwald