Shop OBEX P1 Docs P2 Docs Learn Events
Bug in Load Directive — Parallax Forums

Bug in Load Directive

David NaffinDavid Naffin Posts: 10
edited 2005-05-09 18:34 in General Discussion
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!!

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-05-06 15:40
    Thanks for the feedback, David, we'll looking into the error you've reported.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas, TX· USA
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-05-09 18:34
    David,

    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
Sign In or Register to comment.