Contents Previous Next Subchapters

Changing Output Format From Within the Debugger
Syntax format int form
format real 
form
format double 
from
format complex 
form
See Also debug printing
Abbreviation fo

Description
Sets the output format for the corresponding type of matrices. This command has the same syntax and effect at the DEBUG> prompt as it does at the O>. A more detailed description can be found in the format sections for integers and floating point values.

Example
If at the O> prompt you enter
     clear
     for i = 1 to 2 begin
          print pi
          if i == 1 then stop
     end
O-Matrix will respond
     3.14159
in the Command window and then activate the Debugger window. If you then enter
     format real "f5.2"
     print pi
O-Matrix will respond
     3.14
in the Debugger window. If you then enter
     continue
O-Matrix will respond
     3.14
in the Command window.

Reference
The format command affects subsequent output in both the Debugger and Command windows.