Official ZPE/YASS documentationFor to loops

As well as the standard for loop, YASS also supports an alternative syntax, similar to VB.NET, that uses the to keyword:

YASS
for($i = 0 to 10)
  //Do something
end for
  

As with all loops, for loops may be terminated by end loop.

Performance differences

In reality, the YASS for to loop is considerably higher performance compared with the C-style version, especially when using a native build of ZPE.

Comments
Feedback 👍
Comments are sent via email to me.