Hi, for some reason none of my programs will compile. Even the very simplest of them. But when I pull in the demo's they compile just fine. I've tried dozens of them and they all come up with the same error. They all compiled just fine in the past. Here is the error:
The string is missing the terminator: '.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : TerminatorExpectedAtEndOfString
The terminal process "C:\WINDOWS\SysNative\WindowsPowerShell\v1.0\powershell.exe -Command C:\GCstudio\gcbasic\GCBASIC.EXE 'C:\GCstudio\gcbasic\Dan's Programs\simple program.txt' /NP /S:use.ini /F:N /P:" terminated with exit code: 1.
Here is the sample program:
chip 12f609, 4
Do
Loop
Here is my version:
Version: 1.76.2
Release: 23074
Commit: 22a808587994126e19125c6a1a03c00b990223f4
Date: 2023-03-15T18:36:59.657Z
Electron: 19.1.9
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Windows_NT ia32 10.0.26100
Sandboxed: No
Probably a simple fix but I'm not seeing it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@angel-spartan We will sort. There is a correction we can add to GCCODE to support the use of `. The fix is to change the TASKS.JSON file ( a config file ) to support. Change the param section.
"\\\"`${file}\\\"",
I think this will resolve.
Evan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, for some reason none of my programs will compile. Even the very simplest of them. But when I pull in the demo's they compile just fine. I've tried dozens of them and they all come up with the same error. They all compiled just fine in the past. Here is the error:
The string is missing the terminator: '.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : TerminatorExpectedAtEndOfString
Here is the sample program:
chip 12f609, 4
Do
Loop
Here is my version:
Version: 1.76.2
Release: 23074
Commit: 22a808587994126e19125c6a1a03c00b990223f4
Date: 2023-03-15T18:36:59.657Z
Electron: 19.1.9
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Windows_NT ia32 10.0.26100
Sandboxed: No
Probably a simple fix but I'm not seeing it.
Hello, not sure at all if this can be the reason, but try:
- Rename simple program.txt in simple program.gcb
if not
- remove ' from Dan's Programs
This looks like the folder name, remove
'
and test.Thanks Evan! Works great. Now I know not to include ' in file name.
Great.
@angel-spartan We will sort. There is a correction we can add to GCCODE to support the use of `. The fix is to change the TASKS.JSON file ( a config file ) to support. Change the param section.
I think this will resolve.
Evan