Article View: comp.sys.mac.programmer.help
Article #12Re: Pausing program for specified # of seconds in THINK C
From: Martin Adler
Date: Mon, 21 Aug 1995 11:38
Date: Mon, 21 Aug 1995 11:38
31 lines
1180 bytes
1180 bytes
In article <oylerb-2108950003230001@msp1-5.nas.mr.net>, oylerb@tdkt.skypoint.net (Bill A. Oyler) wrote: > Hello, > > Is there a toolbox command I can use to "pause" my program for the desired > number of seconds (or ticks, if necessary)? All I need to do is pause for > about 4 seconds while a splash screen is displayed... > > Thanks! there is a toolbox-routine: # include <OSUtils.h> ... Delay (ticks,&finalTicks); /* in ticks should be the desired duration of the delay in 1/60-seconds, so 240 should be approx. 4 seconds in finalTicks you get back the system-time since start up on return, (i think you don't need this) */ ... Gulpi = Martin Adler
Technical Details
Message-ID:
<adler-2108951338300001@138.244.207.201>Path:
arc1-ca.pugleaf.net!lrz-muenchen.de!NewsWatcher!userReferences:
<oylerb-2108950003230001@msp1-5.nas.mr.net>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!lrz-muenchen.de!NewsWatcher!user From: adler@informatik.tu-muenchen.de (Martin Adler) Newsgroups: comp.sys.mac.programmer.help,comp.lang.c Subject: Re: Pausing program for specified # of seconds in THINK C Date: Mon, 21 Aug 1995 13:38:30 +0200 Organization: Leibniz-Rechenzentrum, Muenchen (Germany) Distribution: world Message-ID: <adler-2108951338300001@138.244.207.201> References: <oylerb-2108950003230001@msp1-5.nas.mr.net> NNTP-Posting-Host: 138.244.207.201