OS4 DepotLogo by Alkaron 
(anonymous IP: 3.145.166.7,2193) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (596)
   o Document (22)
   o Driver (97)
   o Emulation (147)
   o Game (1005)
   o Graphics (497)
   o Library (115)
   o Network (232)
   o Office (66)
   o Utility (924)
   o Video (69)

Total files: 4367

Full index file
Recent index file

 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 2006
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: 372  (Current version)
372  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos 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 © 2004-2024 by Björn Hagström All Rights Reserved