Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!uxe.cso.uiuc.edu!mcdonald From: mcdonald@uxe.cso.uiuc.edu Newsgroups: comp.sys.ibm.pc Subject: Re: > 64 K Message-ID: <110200030@uxe.cso.uiuc.edu> Date: 15 Nov 89 01:40:29 GMT References: <184105@<1989Nov11> Lines: 20 Nf-ID: #R:<1989Nov11:184105:uxe.cso.uiuc.edu:110200030:000:613 Nf-From: uxe.cso.uiuc.edu!mcdonald Nov 14 08:30:00 1989 >In MS C [...] you can use arrays >larger in size than 64k in huge models, but you cannot just set >aside space for them by using a line like >char bigarray[150000]; This is incorrect. In MSC 5.1 you can indeed say: char huge bigarray[150000]; >For very large arrays, there are also some restrictions about >the size of each element being a power of 2, I seem to remember, >but if you are just using char or int, this should not be a problem. long or float or double is OK also. But you must remember that you have to be careful about passing huge addresses to routines expecting "far" ones. Doug McDonald