Template:MC-Basic/PredefinedConstantHeader

From SoftMC-Wiki
Jump to: navigation, search

Header for predefined constants table in MC-Basic reference (softMC firmware).

Template

{{MC-Basic/PredefinedConstantHeader|
contents
}}

Parameters

contents
Predefined constants entries, which require the {{MC-Basic/PredefinedConstant}} template.

Examples

Input
{{MC-Basic/PredefinedConstantHeader|
{{MC-Basic/PredefinedConstant|True|1|Absolute property (axis and group) Simulated property (axis)|A1.Absolute = True}}
{{MC-Basic/PredefinedConstant|False|0|Absolute property (axis and group) Simulated property (axis)|A1.Absolute = False}}
{{MC-Basic/PredefinedConstant|PI|3.14159265359|In expressions; to convert from Radians to degrees|Deg = Rad *180 / PI}}
}}
Output
Reserved Name Value Usage Example
True 1 Absolute property (axis and group) Simulated property (axis) A1.Absolute = True
False 0 Absolute property (axis and group) Simulated property (axis) A1.Absolute = False
PI 3.14159265359 In expressions; to convert from Radians to degrees Deg = Rad *180 / PI

For more examples refer to pages, which use this template: What links here.

Help:Templates describes general usage of templates, including treatment of special characters.