× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Scott Klement wrote:
> 
> You can map your FIELD1 FIELD2 FIELD3 to an array using a data structure
> as well:
> 
>       D ArrayFields     ds
>       D   Field1
>       D   Field2
>       D   Field3
>       D   Field4
>       D   Field5
>       D   Field                             like(Field1) Dim(5)
> 
> This defines an array named "Field" that has the same properties as
> Field1.  Now you cna reference Field1 as FIELD(1), and Field2 as FIELD(2),
> etc.
> 

Small correction: you need to code the OVERLAY keyword for "Field" to
make this work.

      D   Field                             like(Field1) Dim(5)
--->  D                                     overlay(ArrayFields)


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.