Hello Jan,

On Tuesday, March 26, 2002 at 6:30:09 PM you wrote in
[EMAIL PROTECTED]">mid:[EMAIL PROTECTED] (at least in part):

JR>   My goal was/is to be able to create a time-of-day greeting
JR>   depending on clock time & AB name.

JR>   This ain't working. What's wrong with it?

JR> Good %IF:"%TIME"<"12:00::"morning":%-
JR> "%IF:'%TIME'<>'17:00':'afternoon':'evening'"%-
JR> '%QINCLUDE=" ABToName'".

Try this one:

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

There was a quotation mark set wrong, a colon too much and the comparison
to 'afternoon' shouldn't be '<>'.

HTH Pit
-- 
Regards
Peter Palmreuther                            mailto:[EMAIL PROTECTED]
(The Bat! v1.60 on Windows 2000 5.0 Build 2195 Service Pack 2)

A pinch of probably is worth a pound of perhaps.


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

Reply via email to