Navigation: thinBasic language > Script structure > Functions/Subs > CALL_IfExists |
|
Description
Executes a function or dynamically execute a function name or a command name if dynamically passed by a string expression.
Syntax
CALL_IfExists FunctionName[(Arguments)] [TO Variable]
Returns
Parameters
Name |
Type |
Optional |
Meaning |
Variable |
Yes |
Any variable to which it is possible to assign a value |
Remarks
CALL_IfExists is identical to CALL statement but will execute only if FunctionName exists. If FunctionName does not exists, no runtime error will be generated but script execution will continue with the next statement.
See CALL statement for additional info.
Restrictions
See also
Examples
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |