|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Another PBASIC Question
Ok, heres my problem. I'm trying to use "If Statements" in PBASIC. I know how to use them, that's the easy part. What I need is someone to tell me the syntax for PBASIC. I tried to find it, but I couldn't. Here's what I need the syntax for:
Equal Not Equal Greater Than Less Than Greater Than or Equal To Less Than or Equal To I think that's all I need. I know some things, but I just want to double check, cause I'm also taking C++ at the same time, and I don't want to have conflicting syntaxes. Sorry to waste anyones time, but I couldn't find the syntax online. |
|
#2
|
||||||
|
||||||
|
Page 149 of Parallax Manual V2.0...
equal =
not equal <> greater than > greater than or equal to >= less than < less than or equal to <= AND, OR and XOR can make complex tests. &, ~, and other bitwise opperators are sometimes useful as well. You should really download the manual. It is free in pdf format. The real paper book is worth the price too. Joe J. |
|
#3
|
||||
|
||||
|
My school got the manual and printed it out, but I'm at home now, and I couldn't find the URL for the manual. If anyone knows where to get the manual (pdf form), please tell me, cause I can't find it. Otherwise, thanks for the help, cause I wasn't sure about some of the operators.
|
|
#4
|
|||
|
|||
|
http://www.parallaxinc.com/html_file...umentation.htm
Click the "BASIC Stamp Manual, Version 2.0c", or right click and select "Save Target As". |
|
#5
|
||||
|
||||
|
Ah, so that's where Parallax was hiding it.
Thanks a lot, cause now I don't need to post "stupid" question (yes, I know there's no such thing as a stupid question) that kind of just waste time. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PBASIC Syntax Question | Raven_Writer | Programming | 4 | 20-08-2003 08:07 |
| Question Obtaining Pbasic 2.5 | PyroPhin | Programming | 3 | 18-01-2003 01:26 |
| pbasic question | Mike375 | Programming | 14 | 15-01-2003 06:54 |
| PBasic Question | Melissa H. | Programming | 28 | 17-11-2002 18:53 |
| pbasic question | archiver | 2001 | 5 | 23-06-2002 23:50 |