|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Since the default code is not valid, I went ahead and converted it to "old style" PBASIC 2.0c. I don't have anything to test it on tho, so someone please check me here.
|
|
#2
|
|||
|
|||
|
I tried to tokenize it on the BASIC Stamp Editor 1.33 and it works just fine after the following changes:
Delete the '{$PBASIC 2.5} line Put the SERIN on one line Put the SEROUT on one line After those changes it Tokenized successfully. |
|
#3
|
||||
|
||||
|
Oh, ok... in that case the default code is much nicer than mine. Glad to hear that.
|
|
#4
|
||||||
|
||||||
|
Quote:
Noah: Nice work. You probably want to nuke that darn $PBASIC 2.5 directive, though. It just isn't valid as far as I can tell. Also, if you want to test, go ahead and drop it in RoboEmu. Available at my website: http://www.robbayer.com/software.html |
|
#5
|
|||
|
|||
|
NOOOO!
I didn't get the Default to work....I got Noah's to work after the changes...I probably should have been more specific. Hey, I'm a rookie, so that's ok ![]() |
|
#6
|
|||||
|
|||||
|
It looks to me like there is a new version of the BASIC Stamp Editor or tokenizer which recognizes the $PBASIC directive, and makes the if...then...else...endif and select...case...endselect syntax valid.... I just haven't been able to find it yet.
|
|
#7
|
|||
|
|||
|
In fact, parallax.com offers a new commercial software version for the basic stamp editor. Version 1.5!
Could it be that this editor supports the PBASIC stamp? Could it be that the PBASIC stamp was meant to read 1.5 and not 2.5? BTW - the new editor is much more "spruced" up. I didn't notice any new commands, since the default code did not work, with the same errors as the other editors. FYI - Also, RoboEMU complains about the serout command. |
|
#8
|
|||
|
|||
|
I heard by word of mouth on Friday from two Innovation First guys that a new release of the parrallax software that fully supports all the new commands can be expected within a day or two. I don't know if that is still true, since they seemed to think the release would be happening yesterday or the day before. They didn't mention any version numbers, so I can't help you there.
|
|
#9
|
|||
|
|||
|
This post on the parallax yahoo forums http://groups.yahoo.com/group/basicstamps/message/27596
makes it sound like parallax will be a few weeks (mid/late January) until they release the new version. |
|
#10
|
||||||
|
||||||
|
Quote:
As for RoboEmu, it will complain because the Serout isn't all on one line. It doesn't complain about the rest of it because it is currently setup to ignore commands it doesn't recognize (ie SELECT, etc). This meant I didn't have to add support for commands like HIGH and LOW. Anyway, I'm in the process of updating RoboEmu as we speak and it should support all the new constructs, but I'm going to need help testing it. Look for 1.09 within 24 hours of the official release from Parallax. |
|
#11
|
||||
|
||||
|
For clarification, innovationfirst's site now tells us that a PBASIC 2.5 editor is expected to be available on the 10th. They also have posted 2.0 valid PBASIC default programs.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PBASIC ARCTAN function | Greg Ross | Programming | 14 | 11-05-2003 12:28 |
| Need to learn PBASIC...Where Should I Go? | IMDWalrus | Programming | 5 | 29-04-2003 16:43 |
| Obscure PBASIC for RoboEmu | rbayer | Programming | 1 | 28-03-2003 23:57 |
| PBasic 2.5 vs. 2.0 | Anthony Kesich | Programming | 6 | 09-02-2003 22:06 |
| PBasic Question | Melissa H. | Programming | 28 | 17-11-2002 18:53 |