Function: setvar

Usage: @setvar (String var_name, value) This function exists for historical reasons. At the beginning, there was no other way to set a var than this function. Instructions like "$var = value" did not exist yet. Note that this function allows you to set random varnames. >#cws
@setvar("MyVar", "Hello world !")
@print($MyVar)
$varname = "SecondVar"
@setvar($varname + "_test", "it works !")
@print($varname_test)
#>
Result: Hello world !
it works !