Dynamic Array of Record 
Author Message
 Dynamic Array of Record

I want to do something like this:

IMPORT amodule;

VAR
   p: ARRAY OF amodule.PointerToRecord;

BEGIN
   NEW(p,10);
...

But the compiler says that open arrays are restricted to base type
pointers.

How can I solve this?

Bye, Matthias



Tue, 02 Apr 2002 03:00:00 GMT  
 Dynamic Array of Record

Quote:
>I want to do something like this:

>IMPORT amodule;

>VAR
>   p: ARRAY OF amodule.PointerToRecord;

>BEGIN
>   NEW(p,10);
>...

 p: POINTER TO (*!*)
     ARRAY OF amodule.PointerToRecord;


Tue, 02 Apr 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. An array of records within an array of records (Still a problem)

2. an array of records within an array of records

3. dynamic arrays in a record ?

4. Help: Dynamic-size arrays using record discriminant.

5. Dynamic Record Structure

6. Question about dynamic types of record types

7. Dynamic discrimants in variant records?

8. dynamic arrays

9. Dynamic Array?

10. Dynamic arrays question

11. Dynamic array dimensioning

12. Dynamic Arrays in PBU's PB 3.2

 

 
Powered by phpBB® Forum Software