Programming with Reflection

image\rwnprg32.gif Wait method


Syntax object.Wait HowLong, [Options]



Waits for the specified period of time. Incoming data is processed during the wait.

When waiting from an external application (such as stand-alone Visual Basic), the ProcessDatacomm property should be set to False to prevent Reflection from reading and processing characters between calls to Reflection methods.

The following statement instructs Reflection to wait for 30 seconds, allowing keystrokes during the wait:

Session.Wait "30", rcAllowKeystrokes


HowLong Argument Type: String
Specifies the amount of time to wait. The string is specified in HH:MM:SS.hh format.

Options Argument Type: Enumeration
Specifies additional, non-default behavior for the method. The possible values are:


 Specifies that the user is allowed to enter keystrokes in the terminal window during the wait.


 Specifies that incoming characters should not be displayed in Reflection's terminal window during the wait.

 You can combine the two options using the addition operator (+): rcAllowKeystrokes + rcNoDisplay.


image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command