Which PBASIC cammands are support in SX/B(asic)?
dmyers
Posts: 14
I know I read somewhere on Parallax's site that SX/B isn't 100% compataible with Stamp PBASIC. I have been looking around for sometime now for a SX/B - Basic Stamp PBasic comparison / conversion document and havn't found a thing.
At the least a SX/B syntax/ref manual like the "BASIC Stamp Syntax and Reference Manual Version 2.2" would be nice but I can't find that either! I could then manually compare the two "Basic's" and perhaps write my own functions/Asm for the missing commands.
Am I looking in the wrong place? Are the 2 the same? Or do these documents just not exsist at this time?
I have been using my basic stamp chip & dev board but, I would like to use the cheaper SX to deploy my projects (just a hobby) I (and the wife! kids clothes aren't cheap!) can't see spending $$$ for a stamp controller in every single project I make when the SX is so much cheaper.
I guess I could design on the SX chip in SX/B from the start but then all the cool Parallax Educational modules I plan on getting because I like to learn with example's would be talking about PBasic. Which puts me right back to the beginning "Which PBASIC cammands are support in SX/B(asic)?"
Don Myers
At the least a SX/B syntax/ref manual like the "BASIC Stamp Syntax and Reference Manual Version 2.2" would be nice but I can't find that either! I could then manually compare the two "Basic's" and perhaps write my own functions/Asm for the missing commands.
Am I looking in the wrong place? Are the 2 the same? Or do these documents just not exsist at this time?
I have been using my basic stamp chip & dev board but, I would like to use the cheaper SX to deploy my projects (just a hobby) I (and the wife! kids clothes aren't cheap!) can't see spending $$$ for a stamp controller in every single project I make when the SX is so much cheaper.
I guess I could design on the SX chip in SX/B from the start but then all the cool Parallax Educational modules I plan on getting because I like to learn with example's would be talking about PBasic. Which puts me right back to the beginning "Which PBASIC cammands are support in SX/B(asic)?"
Don Myers
Comments
·
If you write PBASIC code using only those commands listed, it should be maximally portable (not nessesarily a straight port, but close enough to make it relatively easy).
PS I believe that page is out of date, I think there are some additional commands availible now (I2C commands for one), the only way to be sure is download the SX IDE and look at the help files.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10
Post Edited (Paul Baker) : 3/20/2006 2:47:48 PM GMT
http://forums.parallax.com/showthread.php?p=517621
Which is the latest version of SX/B and contains the help file·that is a very good reference on SX/B
Charlie
·