Exactly, it essentially gets treated as if you had written this:

TEST.STRING = TRIM(LINE<1>):"~":FMT(TRIM(LINE<3>),"~"):TRIM(LINE<4>)


-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson
Sent: Thursday, June 07, 2012 12:49 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Why did this compile??


The trailing code is treated as a justification (or masking if you will) type 
request




-----Original Message-----
From: David Wolverton <dwolv...@flash.net>
To: 'U2 Users List' <u2-users@listserver.u2ug.org>
Sent: Thu, Jun 7, 2012 11:47 am
Subject: [U2] Why did this compile??


Look at this line of code...
TEST.STRING = TRIM(LINE<1>):"~":TRIM(LINE<3>)"~":TRIM(LINE<4>)

ee how it is missing the ":" between <3>)"~"  ??
Neither did I ... and the program compiled and ran without a complaint in 
niData 7.2.12 -- but Obviously I was getting bogus results on the other ide!!
I'm trying to figure out why this was 'allowed' ... I'm ready this and hinking 
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 ost 
me about an hour to find!!
DW

______________________________________________
2-Users mailing list
2-us...@listserver.u2ug.org
ttp://listserver.u2ug.org/mailman/listinfo/u2-users

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to