Forum for OpenSees users to post questions, comments, etc. on the use of the OpenSees interpreter, OpenSees.exe
Moderators: silvia , selimgunay , Moderators
QI
Posts: 39 Joined: Sat Aug 05, 2006 4:25 am
Post
by QI » Sun Sep 23, 2007 9:08 pm
hello every body, now i have a problem , if some commad is so long that i can't complet the command by one line script,and how should i define a newline in a single command?
silvia
Posts: 3909 Joined: Tue Jan 11, 2005 7:44 am
Location: Degenkolb Engineers
Contact:
Post
by silvia » Mon Sep 24, 2007 8:26 am
use the "literal" character: \
set a [expr 3.*5. + \
7./3.]
Silvia Mazzoni, PhD
Structural Consultant
Degenkolb Engineers
235 Montgomery Street, Suite 500
San Francisco, CA. 94104
QI
Posts: 39 Joined: Sat Aug 05, 2006 4:25 am
Post
by QI » Mon Sep 24, 2007 10:56 pm
Thank you!
fmk
Site Admin
Posts: 5884 Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:
Post
by fmk » Tue Sep 25, 2007 6:34 am
use a \ to break the line into shorter lines