store multiple characters in quotes
Is it possible to store multiple chracters in quotes, I noticed that in pbasic you can store a single chracter in a quote like so turns = "S", but when i try to store multiple characters in quotes I get an error is their a way that I can do something like this turns = "LUL" without getting an error.
Comments
Dave
if (turns(0) = "L") and (turns(1) = "U") and (turns(2) = "L") then
You could use DATA and READ statements to do something like this which would be called by GOSUB Search. It returns with i set to TableSize if the command isn't found or the index of the command (starting at zero) in the table if it's found.