Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
while loop and do loop
#1
im having trouble with integrating a while loop into one of my do loops, is there any way to fix this?
ife is Short Lets pick on it.
Reply
#2
What do you mean by integrate?

Like this?
Code:
DO
   WHILE b
      ...
   WEND
LOOP UNTIL a
Reply
#3
posting some code will give us a clue =P We arent telepathic problem solvers :roll:
Reply
#4
Code:
Do While a = b
Loop
Code:
Do Until a = b
Loop
Code:
Do
Loop While a = b
Code:
Do
Loop Until a = b
Code:
While a = b
Wend

That about covers it...

The = sign can be replaced with: <=, >=, <>, < or >

You can add multiple conditions using: AND, OR or any other bit operator (XOR for example)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)