Post Reply 
(free42) PGM Copy/Paste and @
03-20-2018, 03:51 PM
Post: #8
RE: (free42) PGM Copy/Paste and @
(03-20-2018 03:37 PM)toml_12953 Wrote:  I'd say it should be interpreted just as if the @ wasn't there.

That's only the obvious approach if you say @ is a comment delimiter.

Consider:

10 SIM

where SIM is a mis-typed SIN.
The current code treats this as a bad line and skips it; aggressively recognizing numbers as unnumbered number literals would cause this to be interpreted as 10.

I decided not to use comment delimiters because most commented program listings that I've seen don't have them (not needed because those listings were written to be read by humans only), or they use arbitrary ones, including @ but also ; or : etc.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(free42) PGM Copy/Paste and @ - Werner - 03-20-2018, 10:03 AM
RE: (free42) PGM Copy/Paste and @ - Thomas Okken - 03-20-2018 03:51 PM
RE: (free42) PGM Copy/Paste and @ - Werner - 03-20-2018, 01:50 PM
RE: (free42) PGM Copy/Paste and @ - Werner - 03-20-2018, 03:06 PM
RE: (free42) PGM Copy/Paste and @ - Werner - 03-21-2018, 04:09 PM



User(s) browsing this thread: 2 Guest(s)