This version is out of date, covering development from v9.5.0 to v9.7.3. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

Tinderbox v9 Icon

Parentheses: arguments for action code operators and user functions

Although historically user functions came the Tinderbox much later than action code operators, both use the same syntax:

Examples

An operator, here the '[ ]' indicate that one of the arguments is optional:

stamp([scope, ]stampName) 

if(condition){actions}[else{actions}] 

A user function (following aTbRef general naming conventions):

myFunction(iArg1,iArg2){ } 

In the last example, as a user-defined panel, all arguments must be populated even if only with an empty value, thus:

$SomeResult = myFunction("hello",24){ } Correct

$SomeResult = myFunction("",24){ } Correct

$SomeResult = myFunction(,24){ } WRONG