OS4 DepotLogo by Nickman 
(anonymous IP: 54.224.18.114,1134) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 
 Categories

   o Audio (328)
   o Datatype (47)
   o Demo (180)
   o Development (528)
   o Document (21)
   o Driver (87)
   o Emulation (141)
   o Game (852)
   o Graphics (456)
   o Library (88)
   o Network (200)
   o Office (56)
   o Utility (804)
   o Video (60)

Total files: 3848

Full index file. Download
Recent index file. Download




 Links

  Amigans.net
  OpenAmiga
  Aminet
  IntuitionBase


Support the site


 Readme for:  Utility » Shell » delay.lha

Delay

Description: Wait any number of ticks (1/50th sec.)
Download: delay.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 8kb
Version: 1.0
Date: 25 Jun 06
Author: Alex Carmona
Submitter: Alex Carmona
Email: AmigaOne/theworld net
Homepage: http://AM1GA.com
Category: utility/shell
License: Other
Distribute: yes
Min OS Version: 4.0
FileID: 1905
 
Comments: 0
Snapshots: 0
Downloads: 316  (Current version)
316  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show content Show crashlogs Replace file 
Delay v1.0 - 24.06.2006 - Freeware by Alex Carmona


Description:

Delay, waits for a number of "ticks".
(1 tick = 0.02 second / 1 second = 50 ticks).

The primary use for it is to delay commands in scripts, when a shorter wait
than 1 second is desirable, for example in a "Skip back" loop.

To minimize loading time and avoid repeated disk accesses during loops, it's
best to make the Delay command resident.


Usage:

Delay TICKS/N

For example to pause a script for 1/10th of a second, use 'Delay 5'.

Acceptable values for TICKS are from 0 to 2147483647 (498 days)

To keep the behavior consistent with C:Wait, if the ticks argument is omitted
it waits for 1 tick.

Delay can be interrupted with Ctrl-C.

It's also possible to achieve the same result by using...
rx "Delay(n)"
where 'n' is the number of ticks.
The drawbacks of using the rexx command are that the rexxmaster server has
to be running, it requires more overhead, and it can't be stopped with Ctrl-C.


--
Amiga... Duh!



Copyright (c) 2004-2017 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment