HP3000-L Archives

October 2003, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Robert Mills <[log in to unmask]>
Reply To:
Robert Mills <[log in to unmask]>
Date:
Mon, 13 Oct 2003 15:48:17 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (68 lines)
Tom,

From the Reflection 8.0 Basic Editor help:

Syntax  object.Wait HowLong, [Options]

Description

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

Arguments

HowLong Argument Type: String
                Required
                Specifies the amount of time to wait. The string is
specified in HH:MM:SS.hh format.
Options Argument Type: Enumeration
                Optional
                Specifies additional, non-default behavior for the method.
The possible values are:

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

                rcNoDisplay
                        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.

regards,

Robert W.Mills
Systems Development Manager
Windsong Services
(01689) 870622 x3005


Tom Hula <mailto:[log in to unmask]> wrote on 13 October 2003 13:49:

> I'm making some changes to a VBA Reflection script, wanting to add
> the Wait function, but I can't find any manual online or otherwise
> that shows the proper sytax. I'm trying to insert a wait of 5
> seconds. If someone could tell me how to do that or where to look, I
> would appreciate it.
>
> Tom Hula
> Victor S. Barnes Company
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2