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

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "Read-Only" to "Read only")
m (Text replace - "''<number>''" to "<''number''>")
Line 4: Line 4:
  
 
|SYNTAX=
 
|SYNTAX=
CHR$(''<number>'')
+
CHR$(<''number''>)
  
 
|AVAILABILITY=
 
|AVAILABILITY=
Line 14: 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=

Revision as of 09:32, 20 March 2014

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