OS4 DepotLogo by DBAlex 
(anonymous IP: 3.133.12.172,2194) 
 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 » 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 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: 47  (Current version)
120  (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:-

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