Forbidden variables in BASIC
Allen Huffman via Coco <[email protected]> Thu, 14 May 2026 16:23:27 -0500
| Newsgroups | gmane.comp.hardware.tandy.coco |
|---|---|
| Message-ID | <[email protected]> |
BASIC cannot use keywords as variables, so certain two letter combinations are not valid in BASIC. As you add Extended BASIC, it added “FN” so that can’t be used. As you add Disk BASIC, it added “AS”. I am updating my blog post. Can you think of any others? 20 ' FORBIDDEN BY CB 30 GO=42 40 IF=42 50 ON=42 60 OR=42 70 TO=42 80 ' FORBIDDEN BY ECB 90 FN=42 100 ' FORBIDDEN BY DECB 110 AS=42 Post: https://subethasoftware.com/2025/03/24/color-basic-supports-two-letter-variables-except-when-it-doesnt/#comment-42296 \-- Allen Huffman - PO Box 7634 - Urbandale IA 50323 - 515-999-0227 (vmail/TXT only) http://www.subethasoftware.com - https://www.facebook.com/subethasoftware Use my referral to get low-cost unlimited 5G: https://my.mintmobile.com/refer/8Xko_mh -- Coco mailing list [email protected] http://listserv.adelphi.edu/cgi-bin/mailman/listinfo/coco