Slimelite BBS

Clocks

Back to REXXAMPLE

From Carl Barton · 1996-04-02 19:12 · #77717 in REXXAMPLE

Last Night BiTtMaP came to my room and whispered:

 >> Does anyone know if there is anyway to get amos to print the time
 >> from your internal clock if you have one!

 B> If you dont wanna resort to nasty dos calls <which i dont know> then you
 B> can
 B> always do

 B> Exec "Date >T:time.temp"
 B> open in 1,"T:Time.temp"
 B> input #1,t$
 B> close 1
 B> time$=left$(t$,8)
 B> print time$

 B> if its amos classic youre using then theres a procedure that will do the
 B> exec
 B> stuff.

Wow Ta m8!

 B> <any errors is coz i aint done amos for ages,  onto arexx now!>

Ahh well i'm trying to get into Blitz Basic!

Cya Carl Barton      =]  F.O.D    Internet:Phantom@metnet.demon.co.uk 

... If it works; rip it apart and find out why!

 * Random Quote Master v3.14 *

--- Spot 1.3 Unregistered
 * Origin: -+- Carl Barton On a Brown Cow! -+- (2:442/103.17)