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

From SoftMC-Wiki
Jump to: navigation, search
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:CHR$}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 4: Line 5:
  
 
|SYNTAX=
 
|SYNTAX=
CHR$(''<number>'')
+
CHR$(<''number''>)
  
 
|AVAILABILITY=
 
|AVAILABILITY=
Line 13: Line 14:
  
 
|TYPE=
 
|TYPE=
''<return value>'': String<br>
+
<''return value''>: String<br>
''<number>'': Long
+
<''number''>: Long
  
 
|RANGE=
 
|RANGE=
''<return value>'': String<br>
+
<''return value''>: String<br>
''<number>'': 0 to 255
+
<''number''>: 0 to 255
  
 
|UNITS=
 
|UNITS=
Line 30: Line 31:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Read-Only
+
Read only
  
 
|EXAMPLE=
 
|EXAMPLE=
Line 37: Line 38:
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:SPACE$|SPACE$]]
+
* [[MC-Basic:SPACE$|SPACE$]]
* [[Axystems:MC-Basic:STRING$|STRING$]]
+
* [[MC-Basic:STRING$|STRING$]]
* [[Axystems:MC-Basic:UTF$|UTF$]]
+
* [[MC-Basic:UTF$|UTF$]]
 
+
* [[MC-Basic:ASC|ASC]]
[[Category:Axystems:MC-Basic:String_Manipulation]]
+
[[Category:MC-Basic:String Manipulation|CHR$]]
  
 
}}
 
}}

Latest revision as of 02:38, 26 April 2017

Language: English  • 中文(简体)‎

This function returns a one-character string corresponding to a given ASCII value.

Syntax

CHR$(<number>)

Availability

All versions

Type

<return value>: String
<number>: Long

Range

<return value>: String
<number>: 0 to 255

Scope

Configuration, Task or Terminal

Limitations

Read only

Examples

-->PRINT CHR$(65)
 A

See Also