fix strange behaviour when parmeter name starts with inf
'inf' is interpreted a floating point infinity on a drivable object x info -> run x inf therefore use 'hval $path' instead of 'result $sicscommand' to retrieve a nodes value in hdbItem
This commit is contained in:
@ -102,7 +102,8 @@ proc hdbItem {path title} {
|
||||
return
|
||||
} else {
|
||||
set cmd2 ""
|
||||
if {[catch {set val [result $cmd]} msg]} {
|
||||
# using {set val [result $cmd]} will have strange effects: 'xatto info' is like 'run xatto inf'!
|
||||
if {[catch {set val [hval $path]} msg]} {
|
||||
if {$msg eq "ERROR: not read yet"} {
|
||||
set val ""
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user