Code : Tout sélectionner
Macro For(initialisation, condition, incrementation, instruction)
initialisation
While (condition)
instruction
incrementation
Wend
EndMacro
Procedure MyProc(value)
Debug "value = " + Str(value)
EndProcedure
For( i=0, i<5, i+1, MyProc(i) )
Debug "----------"
For( i=5, i>0, i-1, MyProc(i) )
Debug "----------"
For( i=0, i<20, i+2, MyProc(i) )
Debug "----------"
For( i=0, i<5, i+1, Debug Str(i) )
Debug "----------"
For( j.f=0.0, j<2.0, j+0.1, Debug StrF(j,1) )
Debug "----------"
For( j.f=0.0, j<0.20, j+0.05, Debug StrF(j,2) )