Strings in Vensim Comments

Use this forum to post Vensim related questions.
Post Reply
Travis
Senior Member
Posts: 141
Joined: Tue Jul 15, 2008 8:42 pm

Strings in Vensim Comments

Post by Travis »

I'm trying to get some Comments in my model to use a single string. For instance, I would like to have:

str1 = "Best"
str2 = "Worst"

Comment var in the UI to be "$str1$ Policy" that would expand to "Best Policy" in the UI.

Possible? I know there are STRINGS in vensim, but I've never understood how to use them. I assume they are useful for this, but maybe they are meant for something else.

Bonus: Can I read in the strings "Best" and "Worst" from XLS file?
Last edited by Travis on Thu Apr 06, 2017 4:05 pm, edited 1 time in total.
Administrator
Super Administrator
Posts: 4589
Joined: Wed Mar 05, 2003 3:10 am

Re: Strings in Vensim Comments

Post by Administrator »

What are you developing the GUI in?
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
Travis
Senior Member
Posts: 141
Joined: Tue Jul 15, 2008 8:42 pm

Re: Strings in Vensim Comments

Post by Travis »

Vensim. Just lots of views with a template. Comments as buttons to switch views.
Administrator
Super Administrator
Posts: 4589
Joined: Wed Mar 05, 2003 3:10 am

Re: Strings in Vensim Comments

Post by Administrator »

I don't know of any way of using Vensim strings on a sketch.

They are really there for things like worksheet names (if using GET XLS ...), messages and that's about 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
Travis
Senior Member
Posts: 141
Joined: Tue Jul 15, 2008 8:42 pm

Re: Strings in Vensim Comments

Post by Travis »

Bummer! Feature request, please.
Post Reply