What Ed & Wols said. And there's another flavour-related gotcha with
common (labeled or not) having to do with whether or not the common
variables are considered "assigned", regardless of $OPTIONS or where
compiled.
For example, this will run differently in Pick & Ideal different
flavoure
On 24/06/11 21:50, Ed Clark wrote:
> yeah, you can add $OPTIONS STATIC.DIM to all the programs that you compile in
> information flavor, or $OPTIONS -STATIC.DIM to the ones in pick flavor. I
> would put the COMMON definition in an include file, along with whichever
> static.dim directive that yo
yeah, you can add $OPTIONS STATIC.DIM to all the programs that you compile in
information flavor, or $OPTIONS -STATIC.DIM to the ones in pick flavor. I would
put the COMMON definition in an include file, along with whichever static.dim
directive that you choose. The choice would be based on WHY
> From: Ed
> I'm guessing that you have an array dimensioned in the
> common? Pick flavor default to $OPTIONS STATIC.DIM,
> while Information flavor defaults to $OPTIONS
> -STATIC.DIM. With STATIC.DIM, each array A(n) takes up
> n slots in common, but with -STATIC.DIM, the entire
> array takes
ne 24, 2011 12:33 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] [UV] Cross-flavor code
I'll ask a simple question and only expand if really necessary.
Compile a subroutine in a Pick flavor Universe account.
That subroutine has a Named Common statement.
Now F-point to that code fi
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Tony Gravagno
Sent: Friday, June 24, 2011 11:34 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] [UV] Cross-flavor code
I'll ask a simple question and only expa
I'm guessing that you have an array dimensioned in the common?
Pick flavor default to $OPTIONS STATIC.DIM, while Information flavor defaults
to $OPTIONS -STATIC.DIM. With STATIC.DIM, each array A(n) takes up n slots in
common, but with -STATIC.DIM, the entire array takes one slot.
On Jun 24, 201
I'll ask a simple question and only expand if really necessary.
Compile a subroutine in a Pick flavor Universe account.
That subroutine has a Named Common statement.
Now F-point to that code file from an Information flavor account.
Compile another program that calls the first. (This can be in a
f