Re: [U2] Dynamic Array oddity very useful

2008-08-20 Thread Rex Gozar
Depending on undocumented behavior is usually a bad idea. Just because A0 = 'ZZZ' happens to work in this release is no guarantee that the vendor will continue to support this behavior in the future. The fact this doesn't work in other Pick flavors or variants makes me want to shy away from

Re: [U2] Dynamic Array oddity very useful

2008-08-19 Thread Jeff Butera
On Tue, 19 Aug 2008, Dennis Bartlett wrote: A = 'DEF' A2 = 'XYZ' A0 = 'XXX' A0 = 'ZZZ' CRT A So A0 = X is a way quicker way of writing A = X : @fm : A This doesn't appear to work on Unidata (7.1.x). I get ZZZ XYZ Jeff Butera, Ph.D. Administrative Systems Hampshire College [EMAIL

Re: [U2] Dynamic Array oddity very useful

2008-08-19 Thread Martin Phillips
Hi Dennis, So A0 = X is a way quicker way of writing A = X : @fm : A I'm not sure that this is a safe assumption. I have taken a quick look at the documentation for various mv products and they tend not to define what will happen. Trying your example with UV does not produce the result

RE: [U2] Dynamic Array oddity very useful

2008-08-19 Thread Bjorn Behr
Dennis I agree with you, this work well in UniVerse, but I get ZZZ]XXX]DEF]XYZ as the ZZZ get's inserted last. Is this just a typo on your side? Bjorn Quote: When run gives XXX]ZZZ]DEF]XYZ Important Notice: This email is subject to important restrictions, qualifications and disclaimers (the

RE: [U2] Dynamic Array oddity very useful

2008-08-19 Thread Louie Gouws
Hi Dennis On UniVerse the output is: ZZZ]XXX]DEF]XYZ Which makes more sense, since the A0 insert the value at the beginning After each step the result of A is as follows: A='DEF' DEF A2='XYZ' DEF]XYZ A0='XXX' XXX]DEF]XYZ A0='ZZZ' ZZZ]XXX]DEF]XYZ Louie Ps. Maybe

Re: [U2] Dynamic Array oddity very useful

2008-08-19 Thread Mats Carlid
That is then flavour dependent - in information flavour there is a zero element , that's where the overflowing elements go ( if any) in a matparse. -- mats Martin Phillips skrev: Hi Dennis, So A0 = X is a way quicker way of writing A = X : @fm : A I'm not sure that this is a safe

RE: [U2] Dynamic Array oddity very useful

2008-08-19 Thread Anthony Youngman
] On Behalf Of Mats Carlid Sent: 19 August 2008 14:53 To: u2-users@listserver.u2ug.org Subject: Re: [U2] Dynamic Array oddity very useful That is then flavour dependent - in information flavour there is a zero element , that's where the overflowing elements go ( if any) in a matparse. -- mats

Re: [U2] Dynamic Array oddity very useful

2008-08-19 Thread Martin Phillips
Hi Mats, Yes, a dimensioned array has a zero element in Information/Ideal/PIopen flavours but a dynamic array has no such element. Martin Phillips Ladybridge Systems Ltd 17b Coldstream Lane, Hardingstone, Northampton, NN4 6DB +44-(0)1604-709200 --- u2-users mailing list

Re: [U2] Dynamic Array oddity very useful

2008-08-19 Thread Mats Carlid
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mats Carlid Sent: 19 August 2008 14:53 To: u2-users@listserver.u2ug.org Subject: Re: [U2] Dynamic Array oddity very useful That is then flavour dependent - in information flavour there is a zero element , that's

RE: [U2] Dynamic Array oddity very useful

2008-08-19 Thread Boydell, Stuart
[UV] However, there's no An,0 to insert an MV, it just overwrites the attribute. A2 = DEFvHIJ A2,0 = ZZZ CRT A ;*- aZZZ -Original Message- On UniVerse the output is: ZZZ]XXX]DEF]XYZ Which makes more sense, since the A0 insert the value at the beginning After each step the result of A