new(basic.gblib): New batch features.
This commit is contained in:
parent
61cc9e2878
commit
6ff24f7fcb
1 changed files with 4 additions and 4 deletions
|
@ -542,12 +542,12 @@ export class GBVMService extends GBService {
|
||||||
let col = 1;
|
let col = 1;
|
||||||
let index = 1;
|
let index = 1;
|
||||||
|
|
||||||
const mid = (str, start, length) => {
|
const mid = (arr, start, length) => {
|
||||||
start = start - 1;
|
|
||||||
if (length === undefined) {
|
if (length === undefined) {
|
||||||
return str.substring(start);
|
return arr.slice(start);
|
||||||
}
|
}
|
||||||
return str.substring(start, start + length);
|
return arr.slice(start, start + length);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Makes objects in BASIC insensitive.
|
// Makes objects in BASIC insensitive.
|
||||||
|
|
Loading…
Add table
Reference in a new issue