Difference between revisions of "SET MAPCHAR"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 33: Line 33:
 
==Products==
 
==Products==
 
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
 
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
 +
[[Category:Documentation]]
 +
[[Category:Commands]]
 +
[[Category:Set_Commands]]

Revision as of 17:10, 10 March 2009

SET MAPCHAR

Class

Input/Output


Purpose

Define an alternate character to map CHR(0)


Syntax

SET MAPCHAR TO <expN>


See Also

CHR(), ???, ASC()


Description

The SET MAPCHAR TO command allows the user to define an alternate character to map CHR(0) for output processing. Whenever the CHR(0) function is used, or the ??? "{NULL}" command is used and MAPCHAR is set to a value other than 0, the CHR(0) character is translated into the character specified by the decimal value in <expN>. On output any occurrences of the character specified by <expN> will be translated back to CHR(0). Setting MAPCHAR TO 0 disables character mapping. The default setting is 0.


Example

? chr(64)
@
set mapchar to 64
? chr(0)

@


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer