How to use the SETTING> comand to get the Initial Time

Use this forum to post Vensim related questions.
Post Reply
Paul Anim
Junior Member
Posts: 19
Joined: Thu Jun 09, 2011 12:19 am

How to use the SETTING> comand to get the Initial Time

Post by Paul Anim »

Hi All,

I am using vensim version 5.10e dll in visual basic. How do i use the Vensim SETTING> command to get the Initial Time and the Final Time and also how to set a new value for both the Initial Time and the Final Time.

Thanks.
Administrator
Super Administrator
Posts: 4832
Joined: Wed Mar 05, 2003 3:10 am

Re: How to use the SETTING> comand to get the Initial Time

Post by Administrator »

Use vensim_get_val to get initial and final time values.

To set them, use vensim_command, the command should be "SIMULATE>SETVAL|INITIAL TIME = 999"
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
Paul Anim
Junior Member
Posts: 19
Joined: Thu Jun 09, 2011 12:19 am

Re: How to use the SETTING> comand to get the Initial Time

Post by Paul Anim »

thanks a lot. it worked
Post Reply