I believe that it saw the second tilde as a format string.

On 6/7/2012 2:47 PM, David Wolverton wrote:
> Look at this line of code...
> 
> TEST.STRING = TRIM(LINE<1>):"~":TRIM(LINE<3>)"~":TRIM(LINE<4>)
> 
> 
> See how it is missing the ":" between <3>)"~"  ??
> 
> Neither did I ... and the program compiled and ran without a complaint in
> UniData 7.2.12 -- but Obviously I was getting bogus results on the other
> side!!
> 
> I'm trying to figure out why this was 'allowed' ... I'm ready this and
> thinking this should have tripped a compile message of SOME type!
> 
> Just one of those 'how weird is this' things I thought I'd share since it
> cost me about an hour to find!!
> 
> DW
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to