for step sign |
Pas2JS pascal source code
function LoopStep: Integer; begin Result := -1; end; var i = 0; for i := 0 to 100 step LoopStep do; {<<< RESULT - CONSOLE LOG >>> ----------------------------- Errors >>>> Runtime Error: FOR loop STEP should be strictly positive: -1 [line: 7, column: 1] Result >>>> ----------------------------- {<<<<<<<<< THE END >>>>>>>>>}