hloberg Posted September 28, 2013 Share Posted September 28, 2013 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. 1 Quote Link to comment https://forums.atariage.com/topic/217159-undocumented-error-in-xb-compiler/ Share on other sites More sharing options...
senior_falcon Posted September 30, 2013 Share Posted September 30, 2013 Oops! Sorry about that. I was sure it was mentioned in the docs but I just looked at them and it's not mentioned. I will try to fix the compiler to allow this or else will correct the docs. Quote Link to comment https://forums.atariage.com/topic/217159-undocumented-error-in-xb-compiler/#findComment-2838744 Share on other sites More sharing options...
Recommended Posts
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.