|
|
|
![]() |
|
|||||||
|
||||||||
| View Poll Results: What laguages do you program in? | |||
| C/C++ |
|
25 | 83.33% |
| Java |
|
9 | 30.00% |
| C# |
|
1 | 3.33% |
| Assembly(ASM) |
|
7 | 23.33% |
| BINARY!!!! |
|
4 | 13.33% |
| Multiple Choice Poll. Voters: 30. You may not vote on this poll | |||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#30
|
||||||
|
||||||
|
insanely limited and insanely powerful...
Is an elephant like rope or like a tree trunk? Depends on whether you are a blind man touching its tail or its leg.
So too PBASIC is both very powerful and very limiting. Some examples: They have some structures that allow excellent and easy bit piddling. They have some very powerful built in functions including shiftin, shiftout, serin, serout, debug, etc. They use 16 bit unsigned math for all calculations. Until very recently, they had no if-then-else construction. They have a function they call MAX. When you type (A MAX B) it returns the lesser of A or B. Of course, (A MIN B) returns the greater of A or B. The list goes on and on. Bottom line: Some very difficult tasks are made pretty easy in PBASIC on a STAMP2 -- some tasks that should be easy are not. That is what I was thinking when I said that PBASIC is both a limited and powerful language. Joe J. Last edited by Joe Johnson : 25-02-2003 at 21:33. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 2-week FIRST summer program @ WPI | ColleenShaver | General Forum | 20 | 31-05-2009 03:02 |
| initialization program and speed controllers | rosebud | Programming | 15 | 05-10-2004 03:35 |
| Fried program slots? | Jeff Waegelin | Programming | 18 | 19-03-2003 18:08 |
| Ahh! Program trick confusing! | archiver | 2001 | 9 | 24-06-2002 02:26 |
| Credits for FIRST program. | archiver | 2000 | 6 | 24-06-2002 00:16 |