fix(basic.gblib): SET SCHEDULE bug. @othonlima

This commit is contained in:
Rodrigo Rodriguez 2024-02-22 14:13:42 -03:00
parent b02e2bd7c5
commit 36e950ca52

View file

@ -687,7 +687,7 @@ export class GBVMService extends GBService {
if (!code) return null;
const keyword = /^\s*SET SCHEDULE (.*)/gim;
const result = keyword.exec(code);
return result ? result[1] : null;
return result ? result[1].replace(/\`/, '') : null;
}
private async getTextFromWord(folder: string, filename: string) {