mirror of
https://github.com/inexorabletash/jsbasic.git
synced 2025-05-13 03:38:15 +00:00
Missing semicolons
This commit is contained in:
parent
c29683009c
commit
92df9eb56d
4
basic.js
4
basic.js
@ -532,7 +532,7 @@ this.basic = (function() {
|
|||||||
},
|
},
|
||||||
|
|
||||||
'on_goto': function ON_GOTO(index /* , ...lines */) {
|
'on_goto': function ON_GOTO(index /* , ...lines */) {
|
||||||
index = Math.floor(index)
|
index = Math.floor(index);
|
||||||
if (index < 0 || index > 255) {
|
if (index < 0 || index > 255) {
|
||||||
runtime_error(ERRORS.ILLEGAL_QUANTITY);
|
runtime_error(ERRORS.ILLEGAL_QUANTITY);
|
||||||
}
|
}
|
||||||
@ -553,7 +553,7 @@ this.basic = (function() {
|
|||||||
},
|
},
|
||||||
|
|
||||||
'on_gosub': function ON_GOSUB(index /* , ...lines */) {
|
'on_gosub': function ON_GOSUB(index /* , ...lines */) {
|
||||||
index = Math.floor(index)
|
index = Math.floor(index);
|
||||||
if (index < 0 || index > 255) {
|
if (index < 0 || index > 255) {
|
||||||
runtime_error(ERRORS.ILLEGAL_QUANTITY);
|
runtime_error(ERRORS.ILLEGAL_QUANTITY);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user