Format: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
JefD (talk | contribs)
No edit summary
Jeffm (talk | contribs)
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''Format'''
==Format(NUMBER#, 'FORMAT_NAME')==
{{Description|description=Sets the output format of a numeric-type to a Prog defined numeric format. Formats used will be the same as those used for the Default Formats in the Form.


:Sets the output format of a numeric-type to a Prog defined numeric format. Formats used will be the same as those used for the default formats in the Form.
The format name can be any format name that is located in the Formats list in Compost, an axis name, or a format definition.


::''Example: # 1 = `0.00'''
Example:  
{Format} #1 = `0.00'


::''Format (''[[FileFeet#]]''1)''
Format ([[FileFeet#]], 1)


::{| style="background-color:#dddddd;" cellpadding="10" cellspacing="0" border="1"
Format ([[EPX#]], 'X')
|'''ID''' || 406
|-
| '''Date added''' || N/A
|-
|'''Type''' || Command
|-
| '''Class/Scope''' || All
|-
|'''Min Version''' || N/A
|-
| '''Notes''' ||
|}


[[Category:Output Control]] [[Category:Common Directives]] [[Category:Command]] [[Category:All Machines]]
Format ([[SPZ#]], 'Z201')
 
Format ([[Operation#]], '#########0')
 
}}
{{See also|description=The FORMAT reference can be found in the [[Glossary]].}}
{{Stats|id=406|type=Command|class=All Machines|scope=|version=N/A}}
[[Category:Output Control]]

Latest revision as of 23:38, 1 April 2014

Format(NUMBER#, 'FORMAT_NAME')

Description

Sets the output format of a numeric-type to a Prog defined numeric format. Formats used will be the same as those used for the Default Formats in the Form.

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

Example: {Format} #1 = `0.00'

Format (FileFeet#, 1)

Format (EPX#, 'X')

Format (SPZ#, 'Z201')

Format (Operation#, '#########0')


See also

The FORMAT reference can be found in the Glossary.


Stats

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