my understanding is as follows.

return will halt ONLY the currently executing script
haltdef will halt ONLY the default text
halt will halt BOTH the default text and the currently executing script

Unless there is a specific need to halt the default text, it is good practice to use return instead. No performance change should occur either way as the engine performs a check in both circumstances (either attempts to halt any default text or determines and returns [value] if present)

Edit: I also agree that the use of goto should be avioded whenever possible. It can cause parts of the script to be parsed multiple times, in turn slowing down the script conciderably.

Last edited by Om3n; 30/08/05 02:28 PM.

"Allen is having a small problem and needs help adjusting his attitude" - Flutterby