| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Try

Page history last edited by PBworks 17 years, 9 months ago


 

Try

(extends Object)


Object Summary

Try object is used to consequtively call a number of functions. The good thing about it is all the functions passed as parameters to Try will be executed even if they generate errors. All the errors thrown will be ignored.


Constructor

This object is statically accessed.


Methods

 

Try.these(varargin)

 

parameters

varargin - Variable number of arguments as anonymous functions.

 

comments

Executes all the functions one by one until one of them does not generate an error.

Trial operation stops whenever a passed function reference is executed successfully, without generating an error.


Try.all(varargin)

 

parameters

varargin - Variable number of arguments as anonymous functions.

 

comments

Similar to Try.these. The major difference is this method executes all the functions one by one.

The execution does not stop, even if a function is executed successfully.

All the functions that are passed as parameters will be called no matter what.


See Also

 

None given.


Usage Examples

 

Comments (0)

You don't have permission to comment on this page.