|
patryn Apprentice
Joined: 26 Sep 2001 Posts: 124
|
Posted: Fri Jan 14, 2005 2:31 am
#abort and #abort 1 |
As i understand it #abort will abort all processing within the current block,
while #abort 1 will abort all processing currently going on.
I'd like to know, is there a way to prevent all processing within the current alias, or trigger ONLY?
for example.
Trigger1 calls Alias1, then it calls Alias2.
Within alias1, a condition is tested. #if 1 {#abort}
Now the problem im getting is, #abort will abort processing of the current block. which is the #if statement. It will continue processing everything after the #if statement within alias1.
If i use #abort 1, instead. It will abort everything. Which means alias2 will never get called.
I wish to ONLY abort alias1. Any ideas? (or am i just doing something wrong?) |
|
_________________ That which does not kill us, makes us stronger. |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Fri Jan 14, 2005 6:46 pm |
I would recommend rewriting the script so that it doesn't rely on aborting portions of it.
|
|
_________________ LightBulb
Senior member
Most scripts in this forum are written for Command Line entry.
Don't even open the Settings Editor unless its use is specified or obvious. |
|
|
|
patryn Apprentice
Joined: 26 Sep 2001 Posts: 124
|
Posted: Fri Jan 14, 2005 9:31 pm |
Aye, I'll do that.
It's just that long scripts look Soooo much cleaner with #abort.
Thanks :) |
|
_________________ That which does not kill us, makes us stronger. |
|
|
|
|
|