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:


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

stamp([scope, ]stampName) 


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