Tinderbox v9 Icon

Nesting functions

Important note: all examples follow aTbRef naming conventions.


NOTE: this subject is only pertinent for more expert users

Can a function code contain another complete function?

In principle, Yes, this is possible. Those with a programming background my be used to techniques like nesting one function inside another. However, there is no difference in use by doing so and it is currently not recommended.

Variables in the outer function are accessible to the nested function but again, this is currently not recommended.


Next: Nesting functions