MFORMAT

From Compost Wiki
Revision as of 23:42, 1 April 2014 by Jeffm (talk | contribs) (→Version 11 Notes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

MFormat(NumberCommand#, 'InchName', 'MetricName')

Description

This command can be used to define two formats for a number command, in the form of: `MFORMAT' (NumberCommand# 4, 3) The Post Processor will use the first format for inch output and the second for metric output. This command should be called only in posts that support inch/metric in the same post.


The format names can be any format name that is located in the Formats list in Compost, an axis name, or a format definition.

Examples:

Format (EPX#, 4, 3)

Format (SPX#, '####.####', '#####.###')


Notes

Works with only Version 6.10.06 and later.


Stats

ID 722
Type Command
Class All Machines
Min Version N/A


Version 11 Notes

With the advent of named formats this command is not needed for newer post processors. A named format can contain both an inch and metric definition and be attached to a number command using the normal Format command.