i0wa
Industrial
- Oct 4, 2009
- 51
Hi everyone!
MB it will be a silly question, but... I have 2 processes within which the one variable is used.
proc MOM_myProc1 {} {
global myVar
set myVar 1
}
proc MOM_myProc2 {} {
global myVar
MOM_abort "$myVar"
}
in the log it is writen than "no such variable 'myVar'" in process 2
what I've made wrong?
Thanks in advance
MB it will be a silly question, but... I have 2 processes within which the one variable is used.
proc MOM_myProc1 {} {
global myVar
set myVar 1
}
proc MOM_myProc2 {} {
global myVar
MOM_abort "$myVar"
}
in the log it is writen than "no such variable 'myVar'" in process 2
what I've made wrong?
Thanks in advance