fix(basic.gbapp): AS IMAGE testing.

This commit is contained in:
Rodrigo Rodriguez 2023-08-13 16:16:26 -03:00
parent 91490d7ac8
commit 0f92f5f273
2 changed files with 3 additions and 3 deletions

View file

@ -251,8 +251,8 @@ export class GBVMService extends GBService {
// Defines local utility BASIC functions.
const ubound = (array) => {return array.length};
const isarray = (array) => {return Array.isArray(array) };
const ubound = (gbarray) => {return gbarray.length - 1};
const isarray = (gbarray) => {return Array.isArray(gbarray) };
// Proxies remote functions as BASIC functions.

View file

@ -789,7 +789,7 @@ export class SystemKeywords {
*
* rows = FIND "file.xlsx", "A2=active", "A2 < 12/06/2010 15:00"
* i = 1
* do while i < ubound(row)
* do while i <= ubound(row)
* row = rows[i]
* send sms to "+" + row.mobile, "Hello " + row.name + "! "
* loop