OS4Depot.net 20130227_1013
  Home Search Mirrors Contact Info Credits

 Readme data for Root » Utility » Shell » delay.lha

Description: Wait any number of ticks (1/50th sec.)
Install: delay.lha
Size: 8kb 5
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
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-2013 Björn Hagström. All rights reserved.
OS4 and its logos are registered trademarks of Hyperion Entertainment