Slimelite BBS

Clocks

Back to REXXAMPLE

From Michael Jewell · 1996-04-06 18:21 · #77726 in REXXAMPLE

* In a message originally to All, Carl Barton said:
 > Does anyone know if there is anyway to get amos to print the
 > time
 > from your internal clock if you have one!

Yes :-)

Well, I cheated a little. Well, a lot really:

Exec "Setclock >dh0:tem opt load"
T$=""
Open in "dh0:tem",1
T$=Input$(1,Lof(1))
close 1
kill "dh0:tem"

Okay, it's slow, it's bad practise (sp?), but hell, it works.

Cheers,
/\/\ike

---
 * Origin: Black Ice (2:255/78)