home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d5xx
/
d514
/
tlog.lha
/
TLog
/
test.tlog
< prev
next >
Wrap
Text File
|
1991-07-21
|
1KB
|
62 lines
/* simple AREXX test for TLog that prints the first and last records */
options results
address 'tlog'
'opendb'
'firstrec'
say "First Record"
say result
/* the fields in a record are delineated with verticle bars '|' */
parse var result dbdate '|' dbheart '|' dbdist '|' dbtime '|' dbweight '|' dbtemp '|' dbkey
say "First Record fields "
say "date " dbdate
say "heart " dbheart
say "dist " dbdist
say "time " dbtime
say "weight" dbweight
say "temp " dbtemp
say "key " dbkey
currenttime
say "time in seconds" result
say " "
'lastrec'
say "Last Record"
say result
/* the fields in a record are delineated with verticle bars '|' */
parse var result dbdate '|' dbheart '|' dbdist '|' dbtime '|' dbweight '|' dbtemp '|' dbkey
say "Last Record fields "
say "date " dbdate
say "heart " dbheart
say "dist " dbdist
say "time " dbtime
say "weight" dbweight
say "temp " dbtemp
say "key " dbkey
currenttime
say "time in seconds" result
say " "
getdateformat
oldformat = result
say "The various date Formats"
say "The original format " oldformat
do i = 1 to 7
dateformat i
currentdate
say result
end
dateformat oldformat