MFORMAT: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Description|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.}} | ==MFormat(NumberCommand#, 'InchName', 'MetricName') | ||
{{Description|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|notes= Works with only Version 6.10.06 and later.}} | {{Notes|notes= Works with only Version 6.10.06 and later.}} | ||
{{Stats|id=722|type=Command|class=All Machines|scope=|version=N/A}} | {{Stats|id=722|type=Command|class=All Machines|scope=|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. | |||
[[Category:MTM]] | [[Category:MTM]] | ||
Revision as of 23:41, 1 April 2014
==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.