I accidentally wrote $ in front of the variable name in a :set statement and it worked:
:set $notdeclared 10
I use this in a function to set the default value of an optional argument:
:global myfun do={
:if ([:typeof $optarg] = "nothing") do={ :set $optarg "default value"}
:return $optarg
}
But also works in .rsc files:
:put $myvariable
:set $myvariable 10
:put $myvariable
Can somebody give some information about this feature?
(tested on Ros 6.25 and 7.7)