Hi ibra,
try pasting code inside of the [ code ] and [ /code ] markers (without the space after the square brackets) -- that will maintain the format better.
liftoff is on this forum too, I think he recently joined btw.
I think it is optional to use starting and ending date parameters. If you specify them, then Zorro tries to accommodate. I prefer to use StartDate and EndDate, and that way I can be very specific. If you use just StartDate and NumYears, then Zorro will start the simulation at the StartDate and try to go NumYears into the future. If you leave a parameter off, it will use a default value.
Regarding static int... that is a type of global variable that is remembered between iterations of the script, unlike other variables which are normally initialized each time the run() function is executed.