Can't you use a function handler instead? These have a rock-solid call/return methodology. Craig -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Using-return-in-a-command-script-tp4709807p4709855.html Sent from the Revolution - User mailing list archive at Nabble.com.