Exact match. Not showing close matches.
PICList
Thread
'[SX] I think I found a bug with SXkey3.2'
2006\07\10@095335
by
Jimbon/a
|
|
[2]
I think I stumbled onto a small bug in SX Key 3.2. I have a program that has been compiling fine with 3.1 however, when I try to load it with 3.2 I get numerous compile errors from the .SCR file. What seems to be happening is that as my if-then routines are interpreted as assembly language all of the _else_XX conditions are not incremented. They all come out as 0's when I think they should probably increment. If I manually increment them the errors go away but when I recompile the program all the errors return. I have attached my program for download. If you load it and compile it with 3.1 it compiles fine but if the try it with 3.2 you will get a slew of errors. All these errors are related to the If then conditions.
Best,
Jim W.
[/2]
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=134617
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)
2006\07\10@110956 by Dunnseptn/a
|
|
did the EXACT same thing to me. Change all of your if, else and endif to upper case and it should work fine
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=134617#m134640
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)
|
|
Thanks Dunnsept,
That did fix it! Apparently 3.2 doesn't like lower case with IF-Then and Endif
Best,
Jim W.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=134617#m134671
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)
|
|
You need to download 3.2R3 (it is the current version on the download page).
3.2R2 had that problem. The wrong version accidentally got into the IDE.
Bean.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=134617#m134674
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)
|
|
Thank you Bean,
I downloaded the R3 version and it works now. This project uses one of your hc4led's It works great for the price.
Jim W.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=134617#m134702
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)
|
|
FYI: I downloaded R3 on 7/15 and have a similar problem with ON x GOTO ... It seems the 'GOTO' must be in caps also.
Excellent work otherwise! I like then INTERRUPT {rate} addition. Saves a lot of calulations!
Paul
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=134617#m135630
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)
|
|
Paul,
Thanks for the tip. I'll check into it.
Bean.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=134617#m135635
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)
|
|
Check "ON x gosub ..." also, Beanman
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=134617#m135649
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)
|
|
Yeah, I got "bof-a-dem" bad boys...
Bean.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=134617#m135660
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)
|
|
Okay,
There is a different bug in "ON x GOSUB" too.
When you use a defined SUB in the list, it tried to jump directly to the subroutine name (as if it was not defined).
This causes assembler errors that the address is not in the first half of a page.
For now the fix is to prefix any DEFINED subroutine names with two underscores.
MySub SUB 0
ON a GOSUB __MySub
This will also be fixed in the next release.
Bean.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=134617#m135772
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)
|
|
I think the bug with the If-Then-else statements is still present. I just downloaded the ver3.2R3 on 9/12 to upgrade from 3.1 and some of my code wouldn't compile anymore. I narrowed it down to this example:
DEVICE SX48, OSCHS2
FREQ 50_000_000
PROGRAM MainLoop value var byte
value2 var byte
MainLoop:
watch value, 8, UDEC
break
If value = 1 Then
value = 2
Else
If value = 2 Then
value = 4
value2 = 0
Endif
value2 = 3
Endif
GOTO MainLoop
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=134617#m144775
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)
|
|
Are you using SX/B version 1.51.01 ?
Bean.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=134617#m144778
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)
|
|
There we go... that fixed it. Now I don't have to change all my code. Thanks a bunch Bean. It's amazing how you always answer problems so quickly that takes me hours to figure out. As always your help is appreciated!
-Amit
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=134617#m144781
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)
|
|
Amit,
That's what the forums are all about. People helping people. It's my pleasure.
In fact there is one small bug in 1.51.01 that I found. The virtual word port RDE doesn't work properly. I will post a version 1.51.02 in a week or two with that fixed. (Waiting to see if anything else shows up).
Bean.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=134617#m144783
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)
More... (looser matching)
- Last day of these posts
- In 2006
, 2007 only
- Today
- New search...