Have you put the command in a 'try' structure?

Syntax:

try
  statementList
catch errorVariable   errorStatementsList
  [finally   cleanupStatementsList]
end try

See also: catch keyword , end try keyword , finally keyword , lockErrorDialogs property , throw control structure
Summary:
Executes a list of statements, sending any errors to the try structure to be handled.


Use the try control structure to execute a series of statements and handle any error messages in the catch section, instead of letting Revolution display the error window.


Graham Samuel wrote:

Thanks for the reply, but my point is that the 'create folder' function doesn't appear to me to return anything in 'the result' when an error occurs: 'the result' just goes on being empty - but the command does apparently generate an error text because I can see it in the message box.

The result is very fragile, and is usually emptied almost immediately. To make sure you catch it, you have to check for it in the very next line of script. Do you have any lines of script between the "create" command and the result check?

--
Jacqueline Landman Gay         |     [EMAIL PROTECTED]
HyperActive Software           |     http://www.hyperactivesw.com

--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to