basic:array indexing and assigning at the index

This commit is contained in:
minjaesong
2020-11-24 17:01:49 +09:00
parent c98016875a
commit 7b6f3cbc43
7 changed files with 53 additions and 36 deletions

View File

@@ -76,7 +76,7 @@ if (portNumber < 4) {
}
else {
sys.mapRom(1);
let response = eval("let _appStub=function(exec_args){"+sys.romReadAll()+"};_appStub;")();
let response = eval("let basica=function(exec_args){"+sys.romReadAll()+"};basica;")();
if (response !== 0) println("No ROM BASIC system halted");
}

View File

@@ -18,4 +18,4 @@ Object.freeze(_BIOS);
// load a BASIC rom
sys.mapRom(1);
eval("let _appStub=function(exec_args){"+sys.romReadAll()+"};_appStub;")();
eval("let basicrom=function(exec_args){"+sys.romReadAll()+"};basicrom;")();