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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
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.