Re: Record like a record
Posted in 1996
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
Russ Palay wrote: > > Does anyone out there know if an array record can be declared like another > array record. Example) > > p_record array[100] or record > a char(1), > b integer, > c smallint > end record > > > This is what I'd like to do: > > temp_p_record record like p_record.* If this is 4GL, then no it can't. Remember this is only used at compile time anyway. So spending thos extra seconds typing the whole record makes maintenance MUCH easer down the line. :-) Cheers, -- Mark. +-------------------------------------------------------------------------+ |Mark D. Stock - The West Solutions Group http://www.west.co.za | | The Informix FAQ is at http://www.iiug.org | |mailto:marks@west.co.za +------------------------------------------------+ |Tel: +27 11 803 2151 |If it doesn't work... force it! | |Fax: +27 11 803 2189 |If it breaks... it needed replacing anyway! | |Cell: +27 83 250 2325 |Well, that's how I code anyway! | +------------------------+------------------------------------------------+