Please enable JavaScript to view this site.

Vensim Help

Navigation: Reference Guide > DSS Supplement > Venapps > Command Descriptions > GAME

GAME>READGVARS|filename|tilltime

Scroll Prev Top Next More

Reads in a set of values for Game variables during a game and continues the game till the last recorded game time or the specified tilltime whichever comes first. filename should be a fully specified file name including extension.  This command is only valid during a game (after the MENU>GAME command has been used).  The input file can be created independently or as the result of a WRITEGVARS command. It has the format

:Time=0

gvar1=1

gvar2=2

:Time=1

gvar2=4

:Time=4

gvar1=0

:Time=10

If the file does not contain any :Time lines this command is actually the same as a READGIN command. WRITEGVARS and READGVARS allow you to reproduce game results.