Re: [U2] Comparing Two Dyamic Arrays

2012-07-24 Thread Ed Clark
ff. > > George > > -Original Message- > From: u2-users-boun...@listserver.u2ug.org > [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson > Sent: Tuesday, July 24, 2012 12:42 PM > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] Comparing

Re: [U2] Comparing Two Dyamic Arrays

2012-07-24 Thread George Gallen
--Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson Sent: Tuesday, July 24, 2012 12:42 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Comparing Two Dyamic Arrays I think you missed the point that UV (and it'

Re: [U2] Comparing Two Dyamic Arrays

2012-07-24 Thread Wjhonson
ginal Message- From: Charles Stevenson To: U2 Users List Sent: Tue, Jul 24, 2012 6:21 am Subject: Re: [U2] Comparing Two Dyamic Arrays Mike meant NES( ), not EQS( ). nd SUMMATION( ), not SUM( ). UM( ) won't yield a scalar unless all delimiters are the same. ResultArray = NES(Arra

Re: [U2] Comparing Two Dyamic Arrays

2012-07-24 Thread Charles Stevenson
ARRAY2 = '11':@VM:'12':@VM:'13':@VM:'20':@VM:'21' ARRAY3 = EQS(ARRAY1,ARRAY2) ...would assign ARRAY3 to look like: '1':@VM:'1':@VM:'1':@VM:'1':@VM:'1' ...and: SUM(ARRAY3) ...would equal 5,

Re: [U2] Comparing Two Dyamic Arrays

2012-07-23 Thread Bill Haskett
OUNT(ARRAY3, @VM) Does this make sense? With mixed @AMs & @VMs I suspect one would have to loop through the result array comparing. Is UniData different than UniVerse? Bill - Original Message - *From

Re: [U2] Comparing Two Dyamic Arrays

2012-07-23 Thread Mike Farrant
Subject: Re: [U2] Comparing Two Dyamic Arrays Does len(array1)=len(array2) ? -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Brutzman Sent: Friday, July 20, 2012 4:23 PM To: U2 Users List Subject: [U2] Comparing Two

Re: [U2] Comparing Two Dyamic Arrays

2012-07-23 Thread George Gallen
Does len(array1)=len(array2) ? -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Brutzman Sent: Friday, July 20, 2012 4:23 PM To: U2 Users List Subject: [U2] Comparing Two Dyamic Arrays Begin case Case

Re: [U2] Comparing Two Dyamic Arrays

2012-07-20 Thread Wjhonson
does something different however -Original Message- From: Bill Brutzman To: U2 Users List Sent: Fri, Jul 20, 2012 5:37 pm Subject: Re: [U2] Comparing Two Dyamic Arrays Will; . Thanks for writing. . I tried the true and false via the equate statement... and also tried it with and 0.

Re: [U2] Comparing Two Dyamic Arrays

2012-07-20 Thread Wjhonson
itself in right justification mode, but a normal equate will *not* do the same way -Original Message- From: Bill Brutzman To: U2 Users List Sent: Fri, Jul 20, 2012 5:37 pm Subject: Re: [U2] Comparing Two Dyamic Arrays Will; . Thanks for writing. . I tried the true and false via the

Re: [U2] Comparing Two Dyamic Arrays

2012-07-20 Thread Bill Brutzman
users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson Sent: Friday, July 20, 2012 5:30 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Comparing Two Dyamic Arrays 1) You have not set the values of true and false correctly 2) You are comparing numeric strin

Re: [U2] Comparing Two Dyamic Arrays

2012-07-20 Thread Wjhonson
1) You have not set the values of true and false correctly 2) You are comparing numeric strings without normalizing them -Original Message- From: Bill Brutzman To: U2 Users List Sent: Fri, Jul 20, 2012 1:49 pm Subject: [U2] Comparing Two Dyamic Arrays Begin case Case

[U2] Comparing Two Dyamic Arrays

2012-07-20 Thread Bill Brutzman
Begin case Case array1 = array2 ; sameThing = true Case 1; sameThing = false End case When I tried to use an equals sign... I did not get the right answer. While the COMPARE function works ok... and I presume that it is a compiler thing... It