> - Format
Indents DataBasic programs and Procs.
Command
>
Action
Press > to execute the Format command. The Status/Command Line prompts:
Program Formatter enter indent size, 0=Exit:3
Enter the number of spaces for each indent or press RETURN to enter the default value of 3. The Status/Command Line prompts:
Indent Comments? :Y
Press N to leave comment lines left flush, or RETURN to have comment lines indented.
Comment
The indents remain when the item is filed unless the Unformat (<) command is used.
Example
The Format command changes the item below as follows:
00012 ROUT: *
00013 FOR X=1 TO 10
00014 PRINT TEXT(X):
00015 LOOP UNTIL Y>Z DO
00016 PRINT ADDEND:
00017 Z=Y/2
00018 PRINT Z
00019 REPEAT
00020 INK=Y+Z
00021 NEXT X
00022 NEWONE: *
00012 ROUT: * 00013 FOR X=1 TO 10 00014 PRINT TEXT(X): 00015 LOOP UNTIL Y>Z DO 00016 PRINT ADDEND: 00017 Z=Y/2 00018 PRINT Z 00019 REPEAT 00020 INK=Y+Z 00021 NEXT X 00022 NEWONE: *