Hello Jan,

On Tuesday, March 26, 2002 at 7:07:18 PM you wrote (at least in part):

Peter>> ,-----= [ time depended greeting  ] =-----
Peter>> | %IF:"%TIME"<"12:00":"morning":"%IF:'%TIME'<'17:00':'afternoon':'evening'"
Peter>> `-----=

JR> It seemed to me that logically <12:00 and <17:00 would produce the
JR> same result which seems to be the case.

It shouldn't.
if '<12:00' is hit the first condition is met and 'morning' should be
put out.
ELSE it checks a second time and if '<17:00' is met 'morning' _can't_
be the output as '<12:00'-check is already done negatively.

I've tried the above line in a QT and set the system time manually to
check it ... 9:26 (am) gave me 'morning', '13:26' 'afternoon', '17:26'
evening. So I don't know what's wrong at your side, sorry :-(
-- 
Regards
Peter Palmreuther                            mailto:[EMAIL PROTECTED]
(The Bat! v1.60 on Windows 2000 5.0 Build 2195 Service Pack 1)

The first duty of a revolutionary is to get away with it. - Abbie
Hoffman


______________________________________________________
Archives   : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to