When I join the two strings together I get a “;” between every string. Is this a bug or an intentional change?
Thanks,
Gerard
[admin@scripttest] > :put ("in version: " . [/sys resource get version ] . " this works.. " . “string1” . “string2”)
in version: 3.1 this works.. string1string2
[admin@scripttest] > :put ("in version: " . [/sys resource get version ] . " this works.. " . “string1” . “string2”)
in version: 3.3 this works.. string1string2
[admin@scripttest] > :put ("in version: " . [/sys resource get version ] . " this is broken.. " . “string1” . “string2”)
in version: ;3.4; this is broken.. ;string1;string2
Before I spend hours rewriting and testing a bunch of scripts I’d first like to know if this change was intentional or not.. If this is something that will go back to the way it was prior to 3.4 I’ll just wait for it to be fixed..
I can’t clear global variablesl variables in 3.4. The way I did it in 2.9.4 doesn’t work and the :unset command doesn’t seem to work.
• The “: set” command changed. I have to change them as in this example: :set j($j + 1) to :set j (j + 1).
• I have to define global variables that will be used in scripts even if they already exists and have values. This is a change from 2.9.50. In 2.9.50 once the global variable were defined and used once it’s value could be used and changed in any script without defining it again.
• Scripts show up in Jobs as Unknown when called from other scripts.
• Run count on the scripts do not increment properly at times
• Concatenant strings had to be changed. :global ndate ($mm . $dd . $yyyy) had to be changed to :global ndate (mm . dd . yyyy)