Jump to content
IGNORED

undocumented error in XB compiler?


hloberg

Recommended Posts

Started using Harry Wilhelm's XB compiler (which is a great compiler) but came across a bug that most people may never come across but took me a while to figure out what was wrong.

In XB you can assign a value to two or more variables with a comma. a.k.a. x=0::y=0 can be x,y=0

when i was compiling and old program the compiler kept locking up on this one line. after a while of trying everything I changed x,y=0 to x=0::y=0 on the line. turned out to be the problem and the compiler continued on.

i.e. don't use commas for multiple variable definition.

Just an FYI if ever you come across the same problem.

 

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...