while not Finished ;; is not part of PBP? in my book it does not even suggest anything of this nature
Really?
You must have a very old version.
While:Wend has been there for as long as I can remember.
In case it's just an old manual mixup ...
Try looking here.
http://www.melabs.com/resources/index.htm#Manuals
LOOKUP key,[" ABCDEFGHIJ"],Char
how does this work I have seen this before but I could never wrap my hands around it and get the feel for it.
There needs to be a space before the "A", just because your keypad routine only returns values starting at 1, and Lookup starts at 0.
LOOKUP is pretty straight forward.
It returns the value from the "List" of items that corresponds to the "key" value.
If key = 1 then after the statement, Char will be "A". And ...
key = 2, char = "B"
key = 3, char = "C"
etc. etc.
Finished VAR BIT : Finished = 0 ;;I'm a little confused here are you commenting it or is it part of the declaration?( : Finished = 0 )
Ummm, we'll call that the "skimask initialization syntax".
You might get that later.
Inside Joke.
But no, it's not commented. The colon ":", separates two statements, as if they were on separate lines. I.E...
Code:
Finished VAR BIT : Finished = 0
; is the same as
Finished VAR BIT
Finished = 0
StrLen = StrLen + 1 ;;Does this increment to next position?
Yes it does.
I know there's more questions, but let's see where this get's you?
<br>
Bookmarks