Click here to return to the KiXtart HelpDesk main page...

KiXtart 2001 Manual

SetASCII( )

Action: Enables enabling/disabling of ASCII output. In KiXtart, standard console output is in Unicode, and SetASCII enables you to change this to ASCII, so you can output extended characters, such as line characters.
 
Syntax: SETASCII ("mode")
 
Parameters: Mode

String that specifies whether to turn ASCII output on or off. Specifying “ON” will turn ASCII output on, and specifying “OFF” will turn ASCII output off.

Returns:
"ON" | "OFF" Previous output state.
 
Example:

$previousstate = SetASCII( “ON” )

? "═══════════; output ASCII line characters

$rc = SetASCII( $previousstate )
 

Remarks: SetASCII is only supported for backward compatibility. New scripts should use the SetOption( ) function.