Text string to be displayed, followed by the variables. If the string begins with an exclamation mark "!...", script execution stops at that line and Zorro changes to debugging mode. This way the behavior of variables inside a loop or function can be debugged step by step. If the string begins with a "#" character, the text is not displayed in the message window, but printed in all modes to the log or - in diagnostics mode - to the diag.txt file (see Verbose). If the string begins with a "?", the text is displayed together with the next exception or crash message. If the string contains a decimal point '.', float, double, or var variables are printed in higher precision.
|...||Up to 8 variables, function calls, or expressions to be watched. Supported are bool, int, var, double, float, or string. Floating point types are displayed with 5 decimals.|
int i; for(i=0; i<10; i++) watch("!i",i,"twice",2*i,"square",i*i);
► latest version online