VMS Help  —  RTL Routines, SMG$  SMG$GET_CHAR_AT_PHYSICAL_CURSOR
    The Return Character at Cursor routine returns the character at
    the current physical cursor position.

    Format

      SMG$GET_CHAR_AT_PHYSICAL_CURSOR  pasteboard-id ,character-code

                                       [,rendition] [,user-rendition]

1  –  Returns

    OpenVMS usage:cond_value
    type:         longword (unsigned)
    access:       write only
    mechanism:    by value

2  –  Arguments

 pasteboard-id

    OpenVMS usage:identifier
    type:         longword (unsigned)
    access:       read only
    mechanism:    by reference

    Specifies the pasteboard from which to retrieve the character.
    The pasteboard-id argument is the address of an unsigned longword
    that contains the pasteboard identifier.

    The pasteboard identifier is returned by SMG$CREATE_PASTEBOARD.

 character-code

    OpenVMS usage:byte_unsigned
    type:         byte (unsigned)
    access:       write only
    mechanism:    by reference

    Returned character code. The character-code argument is the
    address of an unsigned byte into which is written the character's
    ASCII code.

 rendition

    OpenVMS usage:byte_unsigned
    type:         byte (unsigned)
    access:       write only
    mechanism:    by reference

    Receives the rendition code associated with the character code
    returned by the character-code argument. The rendition argument
    is the address of an unsigned byte into which is written the
    rendition code.

 user-rendition

    OpenVMS usage:byte_unsigned
    type:         byte (unsigned)
    access:       write only
    mechanism:    by reference

    Receives the user rendition code associated with the character
    code returned by the character-code argument. The user-rendition
    argument is the address of an unsigned byte into which is written
    the user rendition code.
Close Help