GCBASIC is crashing because of the = sign. When this is used in a #define, GCBASIC will attempt to perform the calculation after it. This means that the = sign should not normally be used in a #define, as it can cause unexpected results.
Thanks for reporting this issue, and I'll deal with it as soon as possible.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In
Great Cow BASIC (0.9 8/2/2007)
The following statement causes the compiler to hang, never finishes, no error message.
#define A_dir_forward = +1
Removing the + fixes it
Russ
GCBASIC is crashing because of the = sign. When this is used in a #define, GCBASIC will attempt to perform the calculation after it. This means that the = sign should not normally be used in a #define, as it can cause unexpected results.
Thanks for reporting this issue, and I'll deal with it as soon as possible.