brianwustl
Programmer
Hello,
I have a relatively simple question regarding tcl.
Basically, I only want some code to run if a value is over another value (which is set to some value minus 8).
It is giving me some problems, though:
There must be a way to do this...
Thanks,
Brian
I have a relatively simple question regarding tcl.
Basically, I only want some code to run if a value is over another value (which is set to some value minus 8).
It is giving me some problems, though:
Code:
set progressbartop 0
incr progressbartop [expr .movframe.bottom - 8]
if {$x < $progressbartop} {
(code that works already)
}
There must be a way to do this...
Thanks,
Brian