Re: Dynamic Array size !
Posted in 1999
No ... There is no such way to define dynamic array ... What you could do is to define the array size to its maximum size and then use arr_count function to determine how many of it are used up ... nayan jain wrote: > Hi all, > > I want to know if the array size in 4GL program can be defined > dynamically ? > > like ... > > DEFINE p_count INTEGER > DEFINE ARRAY gr_cust[p_count] OF RECORD LIKE customer.* > > with this if i have 5 customer in table the array will be of 5 records. > else it can be 1000 tooo... > > TIA, > Nayan Jain ! > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > > "A man is incomplete until he is married After that, he is finished. " > -- Zsa Zsa Gabor