[solved] Subroutine parameters types ? - Forum

Forum Navigation
You need to log in to create posts and topics.

[solved] Subroutine parameters types ?

Hello,
Please, does it exist an explanation about the different parameters types of subroutines ? For example, I don't get what the difference is between VARREF and VARNAME or on another hand what the type "function" should be (aren't the subroutines the functions already?).

Many thanks

Hi @samuel-vanneste,

VARREF = Variable by reference. You can assign a value directly to the parameter name.
Example: myparameter=value;

VARNAME = The parameter will store the variable name in a string format.
Example: $App[myparameter]=value;

NeoScript Subroutines are called Functions in JavaScript.
Let me know if you need any plugin source code as a sample.

Hope it helps.

Regards.

Vadim and Samuel Vanneste have reacted to this post.
VadimSamuel Vanneste