Difference between revisions of "MC-Basic:CHR$"
(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$('' | + | CHR$(<''number''>) |
|AVAILABILITY= | |AVAILABILITY= | ||
Line 13: | Line 14: | ||
|TYPE= | |TYPE= | ||
− | '' | + | <''return value''>: String<br> |
− | '' | + | <''number''>: Long |
|RANGE= | |RANGE= | ||
− | '' | + | <''return value''>: String<br> |
− | '' | + | <''number''>: 0 to 255 |
|UNITS= | |UNITS= | ||
Line 30: | Line 31: | ||
|LIMITATIONS= | |LIMITATIONS= | ||
− | Read | + | Read only |
|EXAMPLE= | |EXAMPLE= | ||
Line 37: | Line 38: | ||
|SEE ALSO= | |SEE ALSO= | ||
− | * [[ | + | * [[MC-Basic:SPACE$|SPACE$]] |
− | * [[ | + | * [[MC-Basic:STRING$|STRING$]] |
− | * [[ | + | * [[MC-Basic:UTF$|UTF$]] |
− | + | * [[MC-Basic:ASC|ASC]] | |
− | [[Category | + | [[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