Board index » delphi » question: repeat - until

question: repeat - until

i need to do something like this in borland pascal:

repeat
DODODODODO..
until ( a < b || c > d) <<<  is this ok?.

Is the until line look ok?.
how do it?.
thanx
Jim

--
Sent by  from  yahoo within area com
This is a spam protected message. Please answer with reference header.
Posted via http://www.usenet-replayer.com/cgi/content/new

 

Re:question: repeat - until


"y_jim542...@yahoo.com" <u246063...@spawnkill.ip-mobilphone.net> schreef
in bericht news:l.1021322132.1997436523@[63.127.215.130]...

Quote
> i need to do something like this in borland pascal:

> repeat
> DODODODODO..
> until ( a < b || c > d) <<<  is this ok?.

> Is the until line look ok?.
> how do it?.
> thanx
> Jim

What do you mean with ||  ?
You can use AND,  OR,  XOR, NOT

 repeat
 DODODODODO..
 until ( a < b) OR  (c > d)

Note the use of the  ( ) hooks

Femme

Other Threads