If you made a script you can offer it to the others here, or ask help to improve it. You can also report here bugs & problems with existing scripts.
bad4u
Posts: 1148 Joined: 2006-12-11 22:54:46
Post
by bad4u » 2006-12-18 23:46:06
Hi, I'm writing a new script for a german website but now I need some helping hand.
Is there any command to end a script immediatly or some kind of 'GOTO end.' ?
I need this function because I want to end a script with a message (ShowMessage), when two 'IF GetOption' conditions are fulfilled.
Thanks.
antp
Site Admin
Posts: 9651 Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:
Post
by antp » 2006-12-19 10:22:12
You can exit from current function/procedure with "Exit" command.
To stop the script there is an "Error" function but that does not stop it very properly (I think that it shows a message to the user).
bad4u
Posts: 1148 Joined: 2006-12-11 22:54:46
Post
by bad4u » 2006-12-20 20:52:20
Thanks, 'Exit' works fine.