Programming with Reflection

image\rwnprg32.gif Display method

 

Syntax object.Display String, [Options]

 

Description

Displays a string in Reflection's terminal window as though it had been received from the host.

Use this method with caution¾when you send data to the terminal window, the user may not recognize that the data did not come from the host, and may act on the assumption that it did. This can create confusion.

Arguments

String Argument type: String
Required
The string to display.

Options Argument Type: Enumeration
Optional
Specifies additional, non-default behavior for the method. You can combine both options using addition as shown here:

      .Display "Hello\r", rcNoTranslation + rcHexData

 rcNoTranslation

 Indicates that the string should not be translated from the PC character set into the host character set.

 rcHexData

 Indicates that portions of a string that follow a backslash should be interpreted using either hexadecimal code or C-language character conventions. For example, the following statement transmits the fraction symbol ¼ (using the decimal code x0BC) followed by a carriage return (using the \r special character):

        .Transmit "\x0BC\r", rcHexData

 

image\jump.gif Example

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command