OS4 DepotLogo by Nickman 
(anonymous IP: 3.129.42.198,0) 
 HomeRecentStatsSearchMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (602)
   o Document (24)
   o Driver (97)
   o Emulation (149)
   o Game (1011)
   o Graphics (500)
   o Library (118)
   o Network (234)
   o Office (66)
   o Utility (932)
   o Video (69)

Total files: 4399

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  UtilityBase
  IntuitionBase
  AmigaBounty


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
Videos: 0
Downloads: 17  (Current version)
17  (Accumulated)

[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 
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-2024 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment