Page 1 of 1

Maximum number of columns in tex editor?

Posted: Mon Apr 02, 2007 3:50 pm
by davide
One question. I'm currently working on a large Vensim model with other partners. One of them has sent me a new part of the model but when I try to open it I get several syntax error messages. After a quick check I discovered that several equations are "broken". i.e.:
<name_variable> is written on two separate rows:

<name_va
riable>

It seems to me that this happens when the lenght of the equations exceeds 255 characters. The question is? Is there some limit such as VENSIM cut longer equations? Is there some settings to increase this size?

Thanks in advance for any help.

Davide

Posted: Tue Apr 03, 2007 10:40 am
by bob@vensim.com
Hi Davide,

There is a maximum line length of 512 (it was 256 a long time ago) in Vensim's Text Editor. However, I suspect that what has happened is the email client used to attach the work is wrapping lines in the attachment. Zipping the attachement will fix this problem.

When Vensim stores output from the Sketch/Equation editors it actually tries to wrap everything to shorter lines (about 80 characters) with continuation characters \ to indicate the wrapping.

Posted: Tue Apr 03, 2007 2:46 pm
by davide
Thanks for your reply Bob.
Unfortunately, we already received the model zipped.
We are trying to sort out our problem in a different way

Davide