Solved

Delay in TPW

Posted on 1998-03-16
3
487 Views
Last Modified: 2008-02-26
How do I get a TPW program to delay for about a second?
0
Comment
Question by:McSpud
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
zircon earned 10 total points
ID: 1217399
Do you want the delay to occur from within your program?  If so, add the following line in your source code where you want the delay to occur in your program.

Delay(ms);

where ms is the length of time you want to delay your program in milliseconds.
0
 
LVL 1

Expert Comment

by:zircon
ID: 1217400
BTW, you'll need to make sure one more line of code is in your program.  If you don't have this statement in your code already, for TWP to recognize the call to Delay, you need to put the following line of code under you program header and before your global variable declarations:

uses crt;

Otherwise, your compiler will give you an unknown identifier error.

I tested this on one of my programs, and it does work.

Good luck.
0
 

Author Comment

by:McSpud
ID: 1217401
Adjusted points to 15
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
Often, people trade privacy and security for convenience. However in today's concrete jungle, this is an extremely foolish decision considering the vast amount of technologies being used against consumer interest. First off, I won't waste any time e…
A short film showing how OnPage and Connectwise integration works.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now