From: Bruce W. <br...@mi...> - 2000-11-05 00:37:18
|
> I am now getting this warning > > 11/04/00 06:44:00 PM: Warning, bad time record: > time=$Time_Sunset_twilight time_date= > > all because I am using this piece of code > > if ($Time_Now = time_now '$Time_Sunset_twilight') > { > set $Livingroom_Lights ON; > $Daytime_Flag = 0; > } You want to drop the ` around $Time..., like this: if ($Time_Now = time_now $Time_Sunset_twilight) Or you can use " instead of ', which would allow variables withing the string to be seen. Bruce |