× 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.



Anybody know if it's possible to define a compile-time array (or in my case, an alternating pair of compile-time arrays) so that the total length of an element (or element pair) is over 100 bytes, so long as the initializers in the CTDATA block are under 100 bytes?

On a more concrete level, suppose you have

  D FOO        S           5S 0 DIM(66) PERRCD(1) CTDATA
  D BAR        S          97A   DIM(66) ALT(FOO)

which would produce a combined length of 102 bytes. Anybody know whether the compiler would accept that, so long as it's never necessary to initialize more than the first 95 bytes of BAR?

--
JHHL

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.