|
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.
|