Menu

Forsta Scripting Support

All the topics, resources needed for Forsta Scripting.

  • Creating Your Own Functions

    You can create your own functions and use them where needed. It is recommended to use functions:Whenever there are pieces of code that it is likely that you ...

  • Defining functions

    Before you can use a function, you must define it. In Forsta Plus, functions are usually defined in script nodes. The syntax of a function definition ...

  • Function Call

    As we have seen in numerous examples, to call a function simply use the function name followed by parentheses containing the arguments, if any:Functio...

  • Functions with Fixed and Variable Number of Arguments

    Functions with a Fixed Number of ArgumentsWhen you define a function with arguments, you define variables with the argument names as variable names. The argu...

  • return Statement

    Often you want a function to return a value, either a result from a calculation that has been done in the function, or just a Boolean to indicate whether the...