Solved

Delay in TPW

Posted on 1998-03-16
3
482 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
Comment Utility
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
Comment Utility
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
Comment Utility
Adjusted points to 15
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

743 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

12 Experts available now in Live!

Get 1:1 Help Now