I have two password fields. I want to be able to compare them and if they do not match, I want to stop executing code so they can re-enter the passwords again.
Here is the code chunk:
========================
if UserPass1 <> UserPass2 then
answer "Passwords do not match - try again"
Go to top
else
end if
========================
What do I have to do to make it stop? I thought it was Go to top, but that does not work.
Thanks in advance.
Mike
SOLVED - How do I stop code from executing?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
SOLVED - How do I stop code from executing?
Last edited by admin12 on Mon Jul 25, 2011 4:57 pm, edited 1 time in total.
Re: How do I stop code from executing?
"Exit" to top is what you are looking for. You can also simply exit the enclosing handler, or, depending on how it is written, maybe recall it?
Craig Newman
Craig Newman