OS4 DepotLogo by Marko 
(anonymous IP:,2219) 

   Bug tracker
   Locale browser


   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (600)
   o Document (22)
   o Driver (97)
   o Emulation (148)
   o Game (1005)
   o Graphics (499)
   o Library (116)
   o Network (233)
   o Office (66)
   o Utility (927)
   o Video (69)

Total files: 4379

Full index file
Recent index file



Support the site

 Readme for:  Utility » Script » set_get_ts.lha


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: 49  (Current version)
122  (Accumulated)
Votes: 1 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
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:-

"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:-


Copyright © 2004-2024 by Björn Hagström All Rights Reserved