Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
16
Task/Runtime-evaluation/BBC-BASIC/runtime-evaluation-2.basic
Normal file
16
Task/Runtime-evaluation/BBC-BASIC/runtime-evaluation-2.basic
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
exec$ = "PRINT ""Hello world!"""
|
||||
bbc$ = FNtokenise(exec$)
|
||||
|
||||
tmpfile$ = @tmp$+"temp.bbc"
|
||||
tmpfile% = OPENOUT(tmpfile$)
|
||||
BPUT#tmpfile%, bbc$+CHR$0
|
||||
CLOSE #tmpfile%
|
||||
|
||||
CALL tmpfile$
|
||||
END
|
||||
|
||||
DEF FNtokenise(A$)
|
||||
LOCAL A%
|
||||
A% = EVAL("0:"+A$)
|
||||
A$ = $(!332+2)
|
||||
= CHR$(LENA$+4) + CHR$0 + CHR$0 + A$ + CHR$13
|
||||
Loading…
Add table
Add a link
Reference in a new issue