HP3000-L Archives

February 1998, Week 4

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:
Paul Christensen <[log in to unmask]>
Reply To:
Date:
Thu, 26 Feb 1998 16:35:47 -0600
Content-Type:
text/plain
Parts/Attachments:
Here is the code I have been using for the pause.  The people I got it from had
a number of seconds
 for this value, which I did not get the results that they had told me I would
for length of time.
Right now I can't remember how long this will pause for, but it should be 30-60
seconds (not forever).

working storage;

 01   FF.
      05  HOW-LONG     PIC X(2)    VALUE %041020.
     05  FILLER                PIC X(2)    VALUE %000000.
 01  SECOND-CNT REDEFINES FF   PIC S9(9) COMP.

Procedure division;


   CALL INTRINSIC "PAUSE" USING SECOND-CNT.


another program had

  05  HOW-LONG   PIC X(2)    VALUE %040420.


I just played around with the number until I got a result that I liked.



Paul D. Christensen
PC Enterprises Inc
Osakis MN

[log in to unmask]


ATOM RSS1 RSS2