Is there a way to insert a line in a savelist (.list file) that is not evaluated when the savelist is used (for export, simulation etc.)?
I have tried a preceeding colon ":" (as in .cin-files) or an enclosing curly brackets "{...}".
The export works, but I still get error messages.
Is there a preceeding or enclosing character defined, which would supress the error message since Vensim then is signalled that this is merely a comment in the syntax?
How to insert non-evaluated comment lines in savelist?
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: How to insert non-evaluated comment lines in savelist?
There is no way at the moment, but I'll add it.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: How to insert non-evaluated comment lines in savelist?
Actually there seems to be a way to do it. Add a ! at the start of the line.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Re: How to insert non-evaluated comment lines in savelist?
Does not seem to work with "!", I get the following error:
WARNING: Error exporting : '! comment-text' is specified in savelist for export, but it is not in the dataset (simulationrunname.vdfx). Cannot export..
WARNING: Error exporting : '! comment-text' is specified in savelist for export, but it is not in the dataset (simulationrunname.vdfx). Cannot export..
Re: How to insert non-evaluated comment lines in savelist?
Out of curiosity, why would this be needed?
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Re: How to insert non-evaluated comment lines in savelist?
Sure:
This could be most helpful if a variable name in the model has changed so the savelist needs an update. The heading then could make it easier to find the new variable.
In addition, our model is big and the variable names are sometimes not self-explanatory. People working on it have differing skill levels, so explanations are always helpful.
Also, Sometimes a headline could be helpful that clusters a couple of variables following it in the save-list.
This could be most helpful if a variable name in the model has changed so the savelist needs an update. The heading then could make it easier to find the new variable.
In addition, our model is big and the variable names are sometimes not self-explanatory. People working on it have differing skill levels, so explanations are always helpful.
Also, Sometimes a headline could be helpful that clusters a couple of variables following it in the save-list.
Re: How to insert non-evaluated comment lines in savelist?
Makes sense. I can think of several other ways to help with this:
- Put a field connected to the current savelist in the equation editor, so variables could be added to the list upon creation/modification.
- Display units & documentation when hovering on a variable in the savelist editor dialog.
- Have a right-click method on the diagram for adding items to the savelist.
- Provide some assistance with finding/fixing name changes in the editor.
- Put a field connected to the current savelist in the equation editor, so variables could be added to the list upon creation/modification.
- Display units & documentation when hovering on a variable in the savelist editor dialog.
- Have a right-click method on the diagram for adding items to the savelist.
- Provide some assistance with finding/fixing name changes in the editor.
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: How to insert non-evaluated comment lines in savelist?
This is just a warning so it should still export ok. I'll disable the message if there is a ! at the start of the line.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559