CASEby MATT (no login)
Wasnt sure if I should start a new topic or not..
I know that this is incorrect.. It works but, when STATE <> STATES() it also prints "Deleting: ''" before reprinting "(Blank to exit) which state?"
SELECT CASE Y
CASE IS < 0, IS >= 50: PRINT "Out of range"
CASE STATE <> STATES(): PRINT STATE; " was not found!"
PRINT "Deleting: '" + STATES(Y) + "'"
STATES(Y) = ""
|Response Title||Author and Date|
|scratch that||Matt on May 12|
|Re: CASE (added some more info) (fixed a few typos in the pseudo code)||on May 12|
|RE||MATT on May 12|
|* I edited my previous post...||on May 12|
|Thanks||Matt on May 12|
|* yw.||on May 12|
|re: case updated||MATT on May 12|
|I see 2 main problems||on May 12|
|RE: two main problems||Matt on May 13|
|I see some other potential problems in your program.||on May 24|
|Example using a boolean variable with a loop||Solitaire on May 12|
|Re: Example using a boolean variable with a loop||on May 12|
|Good shortcut. Another example using duplicate data:||Solitaire on May 13|
|going a bit off topic...||on May 13|
|Yes, in VB.NET:||Solitaire on May 13|