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

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

View file

@ -126,7 +126,7 @@ class SysClass {
let body = { values: [[]] };
body.values[0][0] = value;
let res2 = await client
await client
.api(
`https://graph.microsoft.com/v1.0/sites/${siteId}/lists/${libraryId}/drive/items/${document[0].id}/workbook/worksheets('Sheet1')/range(address='${address}')`
)
@ -214,7 +214,7 @@ class SysClass {
return m.name === file;
});
if (document === undefined) {
if (!document || document.length === 0) {
throw `File '${file}' specified on save GBasic command GET not found. Check the .gbdata or the .gbdialog associated.`;
}

View file

@ -0,0 +1,3 @@
value = get "list.xslx", "A1:A1"
set "list.xslx", "A1:A1", "value"