fix(basic.gblib): update ChatServices.ts #420

Closed
eltociear wants to merge 2540 commits from patch-1 into main
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 0f92f5f273 - Show all commits

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