Difference between revisions of "Template:MC-Basic"
m (Draft) |
m (Draft) |
||
| Line 143: | Line 143: | ||
|examples= | |examples= | ||
| + | <pre> | ||
| + | {{MC-Basic | ||
| + | |SHORT FORM= | ||
| + | |SYNTAX= | ||
| + | BIN$(<''number''>) | ||
| + | |AVAILABILITY= | ||
| + | Versions 4.0.0 and higher | ||
| + | |||
| + | |DESCRIPTION= | ||
| + | BIN$ returns the string representation of a number in a binary format. | ||
| + | |||
| + | |TYPE= | ||
| + | <''return'' ''value''>: String<br> | ||
| + | |||
| + | <''number''>: Long | ||
| + | |||
| + | |RANGE= | ||
| + | <''return'' ''value''>: N/A | ||
| + | |||
| + | <''number''>: MinLong to MaxLong | ||
| + | |||
| + | |UNITS= | ||
| + | |DEFAULT= | ||
| + | |SCOPE= | ||
| + | Configuration, Task or Terminal | ||
| + | |||
| + | |LIMITATIONS= | ||
| + | |EXAMPLE= | ||
| + | <nowiki><</nowiki>pre> | ||
| + | -->myStr = Bin$(58699) | ||
| + | -->?myStr | ||
| + | 1110010101001011 | ||
| + | <nowiki><</nowiki>/pre> | ||
| + | |||
| + | |SEE ALSO= | ||
| + | * [[Axystems:MC-Basic:HEX$|HEX$]] | ||
| + | }} | ||
| + | </pre> | ||
}} | }} | ||
Revision as of 11:03, 14 December 2010
Template
{{MC-Basic
|SHORT FORM=
|SYNTAX=
|AVAILABILITY=
|DESCRIPTION=
|TYPE=
|RANGE=
|UNITS=
|DEFAULT=
|SCOPE=
|LIMITATIONS=
|EXAMPLE=
|SEE ALSO=
}}
Parameters
- SHORT FORM
- SYNTAX
- AVAILABILITY
- DESCRIPTION
- TYPE
- RANGE
- UNITS
- DEFAULT
- SCOPE
- LIMITATIONS
- EXAMPLE
- SEE ALSO
Operation
- Pages with this template are automatically added to the Category:Axystems:MC-Basic:Commands.
Examples
{{MC-Basic
|SHORT FORM=
|SYNTAX=
BIN$(<''number''>)
|AVAILABILITY=
Versions 4.0.0 and higher
|DESCRIPTION=
BIN$ returns the string representation of a number in a binary format.
|TYPE=
<''return'' ''value''>: String<br>
<''number''>: Long
|RANGE=
<''return'' ''value''>: N/A
<''number''>: MinLong to MaxLong
|UNITS=
|DEFAULT=
|SCOPE=
Configuration, Task or Terminal
|LIMITATIONS=
|EXAMPLE=
<pre>
-->myStr = Bin$(58699)
-->?myStr
1110010101001011
</pre>
|SEE ALSO=
* [[Axystems:MC-Basic:HEX$|HEX$]]
}}
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.