Audio (343) Datatype (51) Demo (203) Development (593) Document (22) Driver (97) Emulation (146) Game (993) Graphics (494) Library (113) Network (230) Office (65) Utility (913) Video (69)
Total files: 4332
Full index file Recent index file
Amigans.net OpenAmiga Aminet IntuitionBase
|
set_get_ts | Description: | obtain time in scripts | Download: | set_get_ts.lha (TIPS: Use the right click menu if your browser takes you back here all the time) | Size: | 25kb | Version: | 1.0a | Date: | 16 Aug 2023 | Author: | Lorence Lombardo | Submitter: | Lorence Lombardo | Email: | lorylombus/gmail com | Homepage: | http://geocities.ws/lorylomb/ | Category: | utility/script | Replaces: | utility/script/set_get_ts.lha | License: | Public domain | Distribute: | yes | Min OS Version: | 4.0 | FileID: | 12642 | | | Comments: | 0 | Snapshots: | 0 | Videos: | 0 | Downloads: | 38 (Current version) | | 111 (Accumulated) | Votes: | 1 (0/0) (30 days/7 days) | |
Architecture: m68k-amigaos; ppc-amigaos; ppc-morphos
set_ts/get_ts 1.0a (c) 2023 Lorence Lombardo.
?
"set_ts/get_ts" are two useful tools for obtaining time within a script.
"set_ts" sets a time structure to a local variable within a script.
"get_ts" obtains a specified time structure from a local variable set
with "set_ts" and computes the duration.
The pairs usage is explained with the docu-script "tstst".
A more sophisticated example is "DM_bgpk_spk" which is part of the bgpk
project from here:-
http://geocities.ws/lorylomb/compression.htm
"set_td" and "get_td" are similar variants in the "td" directory which
make use of the timer device. The pair you choose to use is a matter
of personal preference and circumstance suitability.
The ARP directory contains variants suitable for "ROM1.x+".
For related interest see the following URL:-
http://os4depot.net/?function=showfile&file=utility/shell/owlong.lha
|