Quote from
HPW on December 21, 2021, 8:50 am
Hello,
The define type of a variable is used with subroutines. There you can use it to feed the right format into your subroutine.
Basicly the is no real type of a variable. Technically they are all Strings. (PChar's in memory)
Only when you feed the variable into a command, its content is converted dynamicly into a usable type for that command.
So the neoscript engine does this for its commands when needed.
A plugin developer does it code for his own commands.
Regards
Hans-Peter
Hello,
The define type of a variable is used with subroutines. There you can use it to feed the right format into your subroutine.
Basicly the is no real type of a variable. Technically they are all Strings. (PChar's in memory)
Only when you feed the variable into a command, its content is converted dynamicly into a usable type for that command.
So the neoscript engine does this for its commands when needed.
A plugin developer does it code for his own commands.
Regards
Hans-Peter
luishp and rcohen have reacted to this post.