Difference between revisions of "MC-Basic:BIN$"

From SoftMC-Wiki
Jump to: navigation, search
m (Reverted edits by Lisa (talk) to last revision by Nurit.nardi)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:BIN$}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 7: Line 8:
  
 
|AVAILABILITY=
 
|AVAILABILITY=
Versions 4.0.0  and higher
+
Since Version 4.0.0
  
 
|DESCRIPTION=
 
|DESCRIPTION=
Line 35: Line 36:
  
 
|EXAMPLE=
 
|EXAMPLE=
<pre>
+
-->myStr = Bin$(58699)<br>
-->myStr = Bin$(58699)
+
-->?myStr<br>
-->?myStr
+
1110010101001011<br>
1110010101001011
+
 
</pre>
 
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:HEX$|HEX$]]
+
* [[MC-Basic:HEX$|HEX$]]
  
  
 
}}
 
}}
  
[[Category:Axystems:MC-Basic:String_Manipulation|BIN$]]
+
[[Category:MC-Basic:String Manipulation|BIN$]]

Latest revision as of 07:04, 24 April 2017

Language: English  • 中文(简体)‎

BIN$ returns the string representation of a number in a binary format.

Syntax

BIN$(<number>)

Availability

Since Version 4.0.0

Type

<return value>: String

<number>: Long

Range

<return value>: N/A

<number>: MinLong to MaxLong

Scope

Configuration, Task or Terminal

Examples

-->myStr = Bin$(58699)
-->?myStr
1110010101001011

See Also