Kevin, you're right about E being a constant, but the single quotes
supress substitution.  I think Anthony has run into a limitation of the
math library - the thing that evaluates <@CALC> expressions.  This sounds
vaguely familiar...

I think <@IFEQUAL> is the tag for this problem.  It works on big things.

On Tue, 18 Mar 2003, Kevin Quinn wrote:

> 'E' is a defined CALC variable. Unless you're planning on using natural
> logs, don't use E. Try a 'Z' or something.
> 
> -----Original Message-----
> From: Anthony M. Humphreys [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, March 18, 2003 3:34 PM
> To: [EMAIL PROTECTED] Com (E-mail)
> Subject: Witango-Talk: When are these strings equal (Tango 2k)
> 
> 
> 
> I was doing this comparison and it was True in Tango 2k!!
> 
> <@CALC "'39149E20021231'='39006E20021231'">
> 
> In this particular data set the last eight characters are always equal
> anyways, so I was able to work around it by truncating the last eight
> chars in the comparison like so: 
> 
> <@CALC EXPR="'<@LEFT STR="39149E20021231" NUMCHARS="<@CALC
> 'len(39149E20021231) - 8'>">'='<@LEFT STR="39006E20021231"
> NUMCHARS="<@CALC 'len(39006E20021231) - 8'>">'">
> 
> But still, these two strings are NOT equal by any stretch of the
> imagination. Any one care to guess what Tango has done to compare these
> two strings equal? 
> 
> I'd hate to run into this one again!
> 
> 
> ________________________________________________________________________
> TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>                 with unsubscribe witango-talk in the message body
> 
> 
> ________________________________________________________________________
> TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>                 with unsubscribe witango-talk in the message body
> 

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to