Hi
Just want to say i am newbie in scripting so far.
I am writing script to do automated job for me but it doesnt work… so i checked local variables under console, and i think something is wrong.
[admin@primary] > :local variable "Hello World"
[admin@primary] > :environment print
[admin@primary] >
Shouldnt it print my local variable in enviroment ???
I’ve found that this variable should dissapear in new instance of console
local - defined by local keyword, local variables are not shared with any other script, other instance of the same script or other console logins. The value of local variable value is lost when script finishes.
but why isnt it showing in same instace ??
any suggestions ???
EDIT:
I checked that in version 2.9.x and results are what i expected in v.3.x
[pawel@gandalf] > :local variable "hello World"
[pawel@gandalf] > :environment print
Local Variables
variable=hello World
[pawel@gandalf] >
is it a bug ???