CASE

by 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!"
CASE ELSE
PRINT "Deleting: '" + STATES(Y) + "'"
STATES(Y) = ""
END SELECT

Posted on May 12, 2012, 5:35 PM

Respond to this message   

Return to Index


Response TitleAuthor and Date
scratch thatMatt on May 12
Re: CASE (added some more info) (fixed a few typos in the pseudo code) on May 12
 REMATT on May 12
  * I edited my previous post... on May 12
   ThanksMatt on May 12
    * yw. on May 12
 re: case updatedMATT on May 12
  I see 2 main problems on May 12
   RE: two main problemsMatt on May 13
    I see some other potential problems in your program. on May 24
Example using a boolean variable with a loopSolitaire 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