Contents Previous Next Subchapters

Stepping Into Function Calls
Syntax step
See Also next , trace and continue
Abbreviation s
Menu Command Debug | Step

Description
Executes on O-Matrix line and lists the current file with an arrow pointing to the next execution line.

Example
If you enter
     clear
     function f(x) begin
          return 2 * x
     end
     for i = 1 to 3 begin
          stop
          f(i)
     end
O-Matrix will activate the Debugger window with the arrow pointing to the stop statement. If you then enter
     step
O-Matrix will display an arrow pointing to the f(x) statement. If you then enter
     step
O-Matrix will show the arrow pointing to the function statement. Note that if your last debugger command were next, instead of step, O-Matrix would not have stopped inside the function f(x).