DIM Question

GCC Consulting gcc at optonline.net
Sat Apr 17 08:38:40 PDT 2004


 


  _____  

From: filepro-list-bounces at lists.celestial.com
[mailto:filepro-list-bounces at lists.celestial.com] On Behalf Of Scott Burkhart
Sent: Friday, April 16, 2004 10:21 AM
To: filePro mailing list
Subject: DIM Question



I have dimensioned an array in automatic processing, when I try to use the array
in input I get a compilation error.  I then have to dimension the array in input
processing.

 

Example: automatic --> dim qty(10)(10,,2,g)

 

Shouldn't the array be recognized in input processing if it is defined in
automatic processing?

--------------------------------------------------------------------------------
---------------------------------------------------------

NO!

 

Arrays exist only in the processing table where it is created.

 

You can not pass array values to another array in another table

 

You can not set an array equal to another array within the same table (without
programming i.e. read element value from one array to the other.)

 

If you need to pass values between tables and depending on the type of data, you
could combine all of the data in one declared global or a dummy field defined in
auto processing, then hash the values in the other processing table.

 



Richard Kreiss
GCC Consulting 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.celestial.com/pipermail/filepro-list/attachments/20040417/3a0072d4/attachment.htm


More information about the Filepro-list mailing list