Menu

StringTable0 Error

Help
2012-10-05
2013-05-30
  • Nobody/Anonymous

    I have a feeling this is something someone has seen before.

    I have some code that compiles in GC Basic with no error messages. But when assembling the result (using MPASM) I get an error that the symbol StringTable0 has not been previously defined.

    Any ideas where this is coming from?

     
  • Nobody/Anonymous

    It took some sleuthing, but I found the problem. If a comment contains a quoted word or phrase, GC Basic will create a string entry for it. This passes the compiler okay without a message, but the assembler will halt with a message (something like "string not found").

    Interestingly enough, a comment that begins with an apostrophe doesn't do this. One that begins with a semicolon (which is what I generally use) does.

    So anyway, don't use quote marks in a comment set commencing with a semicolon until this bug gets fixed.

     

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.