The other method of format control is applied on a code-to-code basis. This format control is not applied to any other code in the $PP file. Any format string that can be specified in the header can also be specified in the ';F' switch applied to the code.
The same format control in the above example could have been applied to a single code as follows:
This defines a letter code of Z to be output followed by a numeric value obtained from the current X value. This numeric value will be formatted with 3 places to the left and 4 places to the right of the decimal point. Further formatting control has been indicated by the presence of the 'F' switch with its parameter string LRD. Each character in the parameter list specified:
FIXED/LEFT (L). FIXED/RIGHT (R), DECIMAL/OFF (D).
If the number 2.34 was in the .DXF file the following formatted number would be produced using the .$PP file entries outlined above:
The presence of the 'F' switch will cancel any formatting controls specified by $HEADER codes.