Please enable JavaScript to view this site.

Vensim Help

If you use the Venapp Editor Vensim will manage both long lines and quotes without your intervention.  If you are using a text editor you can manage long lines by using continuation lines.

You can put control information on more than one line by ending a line in a backslash \.  The next line is treated as if it were part of the previous line.  You can, in this fashion, break a line anywhere including in the middle of a quoted string.  Note that the backslash \ must not be followed by any spaces.

Quotes can be put around any field in the control description and allow embedding of commas in this fashion.  If you wish to include a quote inside of a quoted string then you must precede it with a backslash as in \".  The following three control definitions are the same:

BUTTON,"Quit",50,95,0,0,C,Qq,MENU>EXIT,

BUTTON,"Quit",50,95,0,0,C,\

Qq,MENU>EXIT,

BUTTON,"Quit",50,"95",0,0,C,Qq,"MENU>EXIT",

The second control definition is broken into two lines.  The third control definition puts quotes around 95 and MENU>EXIT.  These quotes are superfluous, but quotes are necessary whenever a control element contains an embedded comma.