Menu

RESOLVED: Can't compile any of my programs anymore

Dan Goss
2025-04-04
2025-04-04
  • Dan Goss

    Dan Goss - 2025-04-04

    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.

     
  • Fabrice Engel

    Fabrice Engel - 2025-04-04

    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

     
  • Anobium

    Anobium - 2025-04-04

    This looks like the folder name, remove ' and test.

     
  • Dan Goss

    Dan Goss - 2025-04-04

    Thanks Evan! Works great. Now I know not to include ' in file name.

     
  • Anobium

    Anobium - 2025-04-04

    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.

    "\\\"`${file}\\\"",
    

    I think this will resolve.

    Evan

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.