Re: [U2] [UD] correlative syntax

2013-03-01 Thread Charles Stevenson
Isn't there a T missing? OCONV(@ID,G*1); OCONV(@,FILE;X;0;0); @# TFILE ? should be: OCONV(@ID,G*1); OCONV(@,TFILE;X;0;0); @# another way is to do both correlatives in 1 oconv: OCONV(@ID,(G*1:@VM:TFILE;X;0;0))# On 2/28/2013 3:29

[U2] [UD] correlative syntax

2013-02-28 Thread bradley . schrag
A coworker just ran across the following in one of our DICTs. The name of the item indicates it was written by someone who is no longer with the organization and was well known for knowing wonderful arcane UniData tidbits. We can't find anything describing what exactly is going on. The end

Re: [U2] [UD] correlative syntax

2013-02-28 Thread Dave Davis
...@listserver.u2ug.org] On Behalf Of bradley.sch...@usbank.com Sent: Thursday, February 28, 2013 4:29 PM To: 'U2 Users List' Subject: [U2] [UD] correlative syntax A coworker just ran across the following in one of our DICTs. The name of the item indicates it was written by someone who is no longer

Re: [U2] [UD] correlative syntax

2013-02-28 Thread bradley . schrag
d'oh! That's exactly what it is. I just needed someone to put the space between the # and the . Thanks. I believe this means if result of last expression is not empty, where last expression is oconv(@,file;x;0;0) in this case. Written another way: OCONV(OCONV(@ID,G0*1),FILE;X;0;0)