Hello Jerry,

On Mon, 22 Oct 2001 07:31:39 -0700 GMT (22/10/2001, 22:31 +0800 GMT),
Jerry McRae wrote:

JM>   I cannot get the time macro from help to work correctly.
JM>   %IF:"%TIME"<"12:00":"morning":"%IF:'%TIME'>'17:00':'evening':'afternoon'"
JM>   time=%time

JM>   produces:
JM> evening
JM> time=7:29 AM

Yes, because "7:29" > "17:00". When you look at the string, "7" > "1".
I think you need to change your time to the 24-hour clock.

-- 

Cheers,
Thomas.

Moderator der deutschen The Bat! Beginner Liste.

"When they broke open molecules, they found they were only stuffed
with atoms. But when they broke open atoms, they found them stuffed
with explosions."


Message reply created with The Bat! 1.54/10
under Chinese Windows 98 4.10 Build 1998 
using an Intel Celeron 366Mhz, 128MB RAM


-- 
________________________________________________________
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]
Latest Vers: 1.53d
FAQ        : http://faq.thebat.dutaint.com 

Reply via email to