Rocco Capra
(Hey THIS is FUN)
2002-10-31 05:14 PM
Do...Until problem...

Why don't this work??
code:
DO
?"Quit? (Y or N) "
GET $Q
UNTIL 'Q = "y"'

Or this...
code:
DO
?"Quit? (Y or N) "
GET $Q
UNTIL (Q = "y")

Rocco


Rocco Capra
(Hey THIS is FUN)
2002-10-31 05:16 PM
Re: Do...Until problem...

nevermind...

DO
?"Quit? (Y or N) "
GET $Q
UNTIL $Q = "y"

[Roll Eyes] [Roll Eyes]


Waltz
(Seasoned Scripter)
2002-10-31 05:38 PM
Re: Do...Until problem...

UNTIL $Q = "y" OR $Q = "Y"

Rocco Capra
(Hey THIS is FUN)
2002-10-31 06:00 PM
Re: Do...Until problem...

It's not case sensitive

Waltz
(Seasoned Scripter)
2002-10-31 06:03 PM
Re: Do...Until problem...

wHo KnEw? [Wink]

Les
(KiX Master)
2002-10-31 06:40 PM
Re: Do...Until problem...

If you want case sensitive...

UNTIL $Q == "y"


Rocco Capra
(Hey THIS is FUN)
2002-10-31 06:59 PM
Re: Do...Until problem...

that's good to know!

Sealeopard
(KiX Master)
2002-10-31 07:05 PM
Re: Do...Until problem...

As documented in the KiXtart Manual!

See also SETOPTION() in the Manual.


Waltz
(Seasoned Scripter)
2002-10-31 07:15 PM
Re: Do...Until problem...

I knew...
I was just testing you... [Wink]


Rocco Capra
(Hey THIS is FUN)
2002-10-31 07:15 PM
Re: Do...Until problem...

Oh Yeah...RTFM Rocco!