modes Parameter

Displays the character modes for the current line.

Scope: File

Syntax

query modes 

Description

The modes parameter queries the character modes for the current line. The string returned specifies whether the characters are SBCS or DBCS. A character value of 0 is returned for SBCS. For DBCS, a character value of 1 or 2 is returned depending on the position of the double byte character.

Example

To query the modes of a string of characters, type:

query modes 

API Return Code

-1 
You cannot issue the set command for this parameter.