Support Forums
How to write multiple functions into one *.src file

How to write multiple functions into one *.src file

In VTScade it is possible to define your own functions.
Edit AppRoot.SCR where the file with functions is defined.
Then in the file for example NewFunctionName.SRC you write a function.
This works correctly for me if there is only one function in the file, but when you add a second one it says that you are using the used variable.
You rename the variable and it ends up that the MAIN block is already defined.

How to write multiple functions into one *.src file In VTScade it is possible to define your own functions. Edit AppRoot.SCR where the file with functions is defined. Then in the file for example NewFunctionName.SRC you write a function. This works correctly for me if there is only one function in the file, but when you add a second one it says that you are using the used variable. You rename the variable and it ends up that the MAIN block is already defined.
edited Feb 3 at 5:20 pm
12
0
1
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft