ev04+@andrew.cmu.edu (Edward Bertram Victor) (07/06/88)
How could one declare this as a resource such that the array size could be >32k. I read in mac.programmer that one could do a GetResource to automatically load an array into memory that was written as a resource. I have used this successfully in Aztec C with large data types, but am now porting it into MPW. My knowledge of Rez is not sufficient enough to come up with an elegant solution. #define MAXSEGS 100 #define MAXLINES 20 typedef struct { int xc, yc, zc; } TDpts; typedef struct { int x, y; TDpts ThreeD[MAXSEGS]; float segment; } line; line lines[MAXLINES]; Thanks. Ed Victor, CDEC Carnegie-Mellon University ev04@andrew