Hi,
open the editor and insert the code snippet FOR:(Tab SNIPPETS>INSERT>LOOPS>SIMPLE FOR)
for ($x=1; $x -gt 10; $x++) { $x}
This code is not correct, replace -gt with -lt, or -le and it worked. In particular, newcomers are likely to be confused by the error.
Best regardsMartin [brima]