The manual has two good advices for avoiding such mistakes:

"If you print a predefined variable, double check its type (var, float, int, or string)."

"For debugging purposes, the watch function is often more convenient than the printf function. It allows breakpoints, needs no format string, and prevents errors by printing wrong variable types."

https://manual.zorro-project.com/printf.htm

https://manual.zorro-project.com/lots.htm

Lots is var not int.