October 4, 2007 at 9:03 am
Hi All,
What is the correct syntax for the following (this is my current attempt!)
If (expr goes here)
BEGIN
WHILE Var1 < Var2
BEGIN
Do Something here
END --While
ELSE
BEGIN
WHILE Var1 < Var2
BEGIN
Do Something different here
END --While
October 4, 2007 at 9:13 am
October 4, 2007 at 9:17 am
Sorry, I missed that off when I typed the code in, I do have that extra END datement in but I am getting an error
October 4, 2007 at 9:22 am
October 4, 2007 at 9:31 am
ahh, missed the 1st one. I'll give that a go - thanks for clarifying
October 4, 2007 at 9:50 am
Thanks for your help - that worked perfectly
October 4, 2007 at 10:23 am
Adam,
In the future, it would help greatly if you post the error that you are getting. This was an easy one, but if you know the error, why not post it and help those who are attempting to help you? Just a thought.....
Viewing 7 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply