www.delorie.com/gnu/docs/mcsim/mcsim_39.html   search  
Buy GNU books!

MCSim User' Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.4.3 Print() specification

The value of any model variable, input, output or parameter can be requested for output with Print() specifications. Their arguments are a list of names of variables (at least one and up to 10), and a list of increasing times at which to output their value:

Print(<identifier1>, <identifier2>, ..., <time1>, <time2>, ...);

The same output times are used for all the variables specified. The size of the time list is only limited by the available memory. The limit of 10 variables names can be increased by changing MAX_PRINT_VARS in the header file `sim.h' and recompiling. The number of Print() statements you can used in a given Experiment section is only limited by the available memory.

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003