[REBOL] REBOL Vars Re:(5)
From: kevin:sunshinecable at: 27-Jul-2000 11:39
> I want the 3:15 to be like TIME which is a var
So use:
alarm: 3:15
if now/time = alarm [print "alarm"]
Kev
> -----Original Message-----
> From: [chris--ross-gill--co--uk] [mailto:[chris--ross-gill--co--uk]]
> Sent: Thursday, July 27, 2000 2:00 PM
> To: [list--rebol--com]
> Subject: [REBOL] REBOL Vars Re:(3)
>
> Hi [trobrock--crosswinds--net],
>
> > then how can i use this if statement: if now/time == VAR [
>
> if now/time = 3:15 [print "alarm"]
>
> or use either,
>
> either now/time = 3:15 [print "now"][print "not now"]
>
> - Chris
>
------------------------------------------------------------------------
Kevin McKinnon, System/Network Administrator [kevin--sunshinecable--com]
Sunshine Communications http://www.sunshinecable.com
PGP Public Key: http://www.dockmaster.net/pgp.html PGP 6.0 www.pgp.com