PropBasic command
Discovery
Posts: 606
in Propeller 1
Does anyone know if there is a PropBasic command that can scan a list of numbers and determine if a particular number is present in that list?
As an Example: SkipList[1,4,45,78,23]
If the number 4 is in the list then a section of code will be skipped.
Discovery
As an Example: SkipList[1,4,45,78,23]
If the number 4 is in the list then a section of code will be skipped.
Discovery
Comments
Discovery
Discovery
so you want to ride a bicycle, fall down and state that you just want to ride a bicycle but not learn how to ride a bicycle?
curious,
Mike
Yup, build a man a fire and he'll be warm for a day - set a man on fire and he'll be warm for the rest of his...erm, life. Something like that, anyway
+1
Parallax...this is your helpful forum!
Discovery
no you seem to get this wrong. Nobody here is interested to program for you but helping you to program by yourself.
So write some code post it and state your problems and question and you will get answers to your questions. But to expect that someone else is writing code for you is - hmm - simply wrong.
Enjoy!
Mike
ON var = value1, value2, value3 GOTO label1, label2, label3
command.
Bean
I think that I can make that instruction work by making label1, label2, and label3 the same.
Sincerely,
Discovery
Peace out, Mike R...
I accept your apology.
Posting my code would not be helpful since I was looking for an instruction to accomplish a branching function. Bean understood what I needed and simply provided that instruction.
Discovery