I found a strange behaviour of the compiler. If I use the $ in one character of the name of a label the compiler change it in ().
For example lbl$1 is changed in lbl()1.
This behaviuor could be a problem if I want to use a line of assembler like "goto $+2" in the basic code, because I get "goto ()+2" and a compiler error.
stefano
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you Hugh for the fix, the assembler instruction "goto $+n" is working!
Reading the manual of gputils, I realized that the $ character is not allowed in label name, I made a mistake to use $ in a label.
Stefano
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I found a strange behaviour of the compiler. If I use the $ in one character of the name of a label the compiler change it in ().
For example lbl$1 is changed in lbl()1.
This behaviuor could be a problem if I want to use a line of assembler like "goto $+2" in the basic code, because I get "goto ()+2" and a compiler error.
stefano
Bug fixed in http://gcbasic.sourceforge.net/newfiles/update.zip . Thanks for telling me about it.
Thank you Hugh for the fix, the assembler instruction "goto $+n" is working!
Reading the manual of gputils, I realized that the $ character is not allowed in label name, I made a mistake to use $ in a label.
Stefano