Hi,
The line is simply ignored as if it were not even there.
If you make it bigger, then try to list past the end, the runtime blows up.
If you make it smaller, you can still address the end cells normally.
It's really as if the line isn't present. Don't ask me why it works that
way, but
@listserver.u2ug.org
Sent: Fri, Jul 27, 2012 1:28 am
Subject: Re: [U2] Passing dimensioned arrays
Hi,
The line is simply ignored as if it were not even there.
If you make it bigger, then try to list past the end, the runtime blows up.
If you make it smaller, you can still address the end cells normally
-
From: Brian Leach br...@brianleach.co.uk
To: 'U2 Users List' u2-users@listserver.u2ug.org
Sent: Thu, Jul 26, 2012 2:03 am
Subject: Re: [U2] Passing dimensioned arrays
Well, in an INFORMATION flavor dimensioned arrays are supposed to be
dynamically resizable, which can sometimes be useful if you
: [U2] Passing dimensioned arrays
Hi,
Well, in an INFORMATION flavor dimensioned arrays are supposed to be
dynamically resizable
The problem described by this thread is an oddity forced on us by the
syntax/semantics of matrices passed as arguments.
If you define a subroutine as, for example
10:15 AM
*Subject:* Re: [U2] Passing dimensioned arrays
Martin's answer is probably right (he usually is!)
Difference between what it does and what it *should* do.
I love all this legacy cr*p - engineering failings from 30 years ago getting
passed down through generations ..
Brian
If the new size was bigger, it would populate those cells that were sent,
ie a (10) array sent would fill cells 1 - 10 of the (12) array
Theoretically f the new size was smaller, it would fill the array then put
the remaining ones into either the last or the zero cell depending on which
flavour,
it works that way,
but hey.
-Original Message-
From: dennis bartlett dqbartl...@gmail.com
To: U2 Users List u2-users@listserver.u2ug.org
Sent: Thu, Jul 26, 2012 5:40 pm
Subject: Re: [U2] Passing dimensioned arrays
If the new size was bigger, it would populate those cells that were sent,
ie
I'm on Universe 10.2.3 in Information flavor and was surprised by something.
Admittedly I don't think I've actually come across this before, but it seems
like whoever wrote this, didn't understand how the system used it either.
If you dimensioned an array and then call a subroutine passing that