Timeline for Write a "Hello" interpreter
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 6, 2020 at 8:48 | comment | added | Arnauld |
See for instance this answer of mine for some tricks to reduce the byte count (using abbreviated keywords and ending each line with CR instead of CRLF ).
|
|
Sep 6, 2020 at 8:45 | comment | added | Arnauld |
You can do IF b$<>"h" / PRINT "err" / EXIT IF 1 / ENDIF / PRINT "Hello World" to get rid of the ELSE .
|
|
Sep 6, 2020 at 8:43 | comment | added | Arnauld | @Razetime I don't know any version of GFA Basic that would allow this syntax. | |
Sep 5, 2020 at 15:49 | comment | added | Razetime |
Can the if statement be shortened to PRINT ... IF b$="h" ELSE PRINT ... ?
|
|
Sep 5, 2020 at 15:34 | history | answered | Xvolks | CC BY-SA 4.0 |