Basic Help
Kelly,
Got it! You pointed out a fact that I was missing, or that is missing from
my literature. It seems that a text ID is not required behind the menu and item
ID's. In fact, it seems that rewriting the entire menu and item ID's with a new
checkmark,uncheckmark number is totally ignored. For example:
menu 5,0,1, "Test"
menu 5,1,2, " Hi there"
menu 5,1,1, " Hi there"
keepgoing:goto keepgoing
..does not produce a checkmarked "Hi there" immediately followed by an
uncheckmarked "Hi there". The menu item stays checkmarked eternally, even
though it seemingly was last told to be unchecked in the above command
progression. What does work is:
menu 5,0,1, "Test"
menu 5,1,2, " Hi there"
menu 5,1,1
keepgoing:goto keepgoing
The above does not include text to rewrite the uncheckmarked "version" of hi
there, nor does it want a comma following the last "1" in 5,1,1. You'll note
that I simplified the examples (I hope) for clarity; in neither case did I
expect to see a checkmarked item appear before it was replaced by it's
5ncheckmarked offspring. Much thanx for the understandable and concise example
that has solved my problem. Obviously the world needs 1) more people like you.
2) better manuals, or 3) people that can read manuals better than I can.
Nowhere have I read that you can write "menu 5,1,1 and get anything other than
"syntax error" because of the lack of a comma and item description enclosed in
quotes! Lesson learned. Uh…one more thing. The while/wend loop in your
example raises a question. The "while 1<>2" must(?) refer to the current menu
selection, how does the while/wend know to distinguish between the menu
selection values and other values being bandied about in the program? I guess
what I mean is I don't understand the syntax of while/wend arguments. If you
have any energy left after answering my other dumb question, please fire away!
Thanks again, Gene
/ex