Preview:
// Model execution commands
resetmodel();
runspeed(10);
stoptime(3000);
fastforward();
go();
step();
skip();

// in case of debuging an error that takes place at a specific time:
stoptime(300); // change 300 to the exception time
runfunction(1); // will execute the model untill reacing first stoptime defined.


for(int i = 1; i <= 5; i++) { msg("for loop","Hi there " + i + " !", 1); }
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter