Model execution commands and exception time debug

PHOTO EMBED

Fri Jan 19 2024 19:15:19 GMT+0000 (Coordinated Universal Time)

Saved by @FlexSimGeek #flexscript

// 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); }
content_copyCOPY