OS4 DepotLogo by Marko 
(anonymous IP: 3.145.78.117,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 » Script » set_get_ts.lha

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 23
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:  (Current version)
 (Accumulated)

[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 
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










Copyright (c) 2004-2024 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment