User:Eriksiers/BBC BASIC detokenizer: Difference between revisions
User:Eriksiers/BBC BASIC detokenizer (view source)
Revision as of 04:55, 1 September 2022
, 1 year agoupdated lang tag
(new version: fixed 'doesn't handle GOTO targets'; further clarified →Licensing: ; linked to gpl & fdl; moved vba to separate page) |
m (updated lang tag) |
||
Line 25:
Note that since I expect the code to run under QBasic, you don't specify the file(s) to be detokenized on the command line, but instead do it one file at a time, via the <code>DETOKEN</code> environment variable. (This can easily be changed, but I don't care to.)
<
DATA 11,WAIT,12,INSTALL,14,PRIVATE,15,BY,16,EXIT,128,AND,129,DIV,130,EOR,131,MOD,132,OR
DATA 133,ERROR,134,LINE,135,OFF,136,STEP,137,SPC,138,TAB(,139,ELSE,140,THEN,142,OPENIN,143,PTR
Line 108:
LOOP
CLOSE
SYSTEM</
|