Hi all
who can explain this command for me? what Format command do?
puts [format "\n\nReduced dT to:%1.1e; LF=%3.5f, Disp=%3.2f\n\n" \$dTtrial [getTime] [expr $tDisp*1000.] ]
thanks alot.
Format command
Moderators: silvia, selimgunay, Moderators
-
- Posts: 5
- Joined: Tue Jun 19, 2012 12:40 am
- Location: United States
Re: Format command
It's actually a TCL command -- part of the language that OpenSees relies on. It's not specific to OpenSees processes. The details are provided here: https://www.tcl.tk/man/tcl8.4/TclCmd/format.htm
Essentially it does with sprintf does in MATLAB (maybe you're familiar with that...)
Essentially it does with sprintf does in MATLAB (maybe you're familiar with that...)
-
- Posts: 5
- Joined: Tue Jun 19, 2012 12:40 am
- Location: United States
Re: Format command
Tanks alot.
It was so helpfull.
It was so helpfull.