Re: [U2] [UV] Cross-flavor code

2011-06-25 Thread Charles Stevenson
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

Re: [U2] [UV] Cross-flavor code

2011-06-25 Thread Wols Lists
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

Re: [U2] [UV] Cross-flavor code

2011-06-24 Thread Ed Clark
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

Re: [U2] [UV] Cross-flavor code

2011-06-24 Thread Tony Gravagno
> 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

Re: [U2] [UV] Cross-flavor code

2011-06-24 Thread George Gallen
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

Re: [U2] [UV] Cross-flavor code

2011-06-24 Thread Bobby Worley
-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

Re: [U2] [UV] Cross-flavor code

2011-06-24 Thread Ed Clark
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

[U2] [UV] Cross-flavor code

2011-06-24 Thread Tony Gravagno
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