MFORMAT: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
JefD (talk | contribs)
New page: '''MFORMAT''' :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 o...
 
Jeffm (talk | contribs)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''MFORMAT'''
==MFormat(NumberCommand#, 'InchName', 'MetricName')==


:This command can be used to define two formats for a number command, in the form of:
{{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# 4, 3)
:The post processor will use the first format for inch output and the second for metric output. This command should only be called in posts that support inch/metric in the same post.
::{| style="background-color:#dddddd;" cellpadding="10" cellspacing="0" border="1"
|'''ID''' || 722
|-
| '''Date added''' || N/A
|-
|'''Type''' || Command
|-
| '''Class/Scope''' || All
|-
|'''Min Version''' || N/A
|-
| '''Notes''' || Only works with Version 6.10.06 and later.
|}


[[Category:MTM]] [[Category:Command]] [[Category:All Machines]] [[Category:Global]]
 
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.}}
{{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]]

Latest revision as of 23:42, 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.