Bug in Load Directive
David Naffin
Posts: 10
The Load Directive on all version (including the new 1.21) of SXB seems to have a small yet often annoying bug. In some cases if the last line is not a comment,
the SXB executable crashes with an access violation.
Here is an example:
File LOAD.SXB:
Myconst CON 1
'Necessary Comment
FILE TEST.SXB:
LOAD "LOAD.SXB"
If·I remove the "Necessary·Comment" line such that the constant definition is the last line in the file, the compiler·crashes.
BTW I would like to say congratulations·to all at Parallax that have been involved in the SXB project. I have found this to be an
extremely useful tool and you can not beat the prce!!
the SXB executable crashes with an access violation.
Here is an example:
File LOAD.SXB:
Myconst CON 1
'Necessary Comment
FILE TEST.SXB:
LOAD "LOAD.SXB"
If·I remove the "Necessary·Comment" line such that the constant definition is the last line in the file, the compiler·crashes.
BTW I would like to say congratulations·to all at Parallax that have been involved in the SXB project. I have found this to be an
extremely useful tool and you can not beat the prce!!
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
Even though I realized just now that I forgot to add it to the "What's New" list in the 1.22 help file, that bug has been corrected. You can get the new compiler and help file from the sticky at the top of this forum.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA