what's wrong with this command?

Forum for OpenSees users to post questions, comments, etc. on the use of the OpenSees interpreter, OpenSees.exe

Moderators: silvia, selimgunay, Moderators

Post Reply
from tongji
Posts: 94
Joined: Fri May 11, 2007 9:53 pm
Location: tongji university

what's wrong with this command?

Post by from tongji »

if {[$Dincr>0] && [$Dstep>-159.6]} stop


when run it, the warning is: invalid command name "0.21>0"
while executing
"$Dincr>0"
zvidrih
Posts: 39
Joined: Wed Apr 30, 2008 1:55 am
Location: Ljubljana, Slovenia

tcl

Post by zvidrih »

Hi,

just try:

Code: Select all


if {[expr $Dincr>0] && [expr $Dstep>-159.6]} stop

Zlatko Vidrih
Institute of Structural Engineering, earthquake Engineering and Construction IT
Faculty of Civil and Geodetic Engineering
University of Ljubljana, Slovenia
Post Reply