Re: "not enough memory for long line" message on Dynamic C V10.70

"[email protected] [rabbit-semi]" <[email protected]>
Newsgroups gmane.comp.hardware.rabbit-semiconductor
Message-ID <[email protected]>
How about this:

struct parts {
 float part1[1024];
 float part2[1024];
 float part3[1024];
 float part4[1024];
 };

far const struct parts x = {
 { 1, 2, 3, 4, 5},
 { 6, 7, 8, 9, 10},
 { 11, 12, 13, 14, 15},
 { 16, 17, 18, 19, 20}
};

int main ()
{
  far float *crosstable = (far float *)&x;
  printf ("crosstable[1024] = %.1f\n", crosstable[1024]);
}

Mircea Neacsu
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.