[proFit-list] Global variable size limit exceeded

Joseph Walrath jdwalrath at gmail.com
Thu Jan 10 19:04:20 CST 2008


The following code, when compiled, lead to this message: "The total size of
global variables exceeds its limit."It's just a bunch of arrays with 50
elements each.  Any suggestions?

program ParseSymmetryTables;

const

NumFiles = 50;

var

i, FileCount: integer;

v1,v2,v3,v4,v5,v6,v7,v8,v9,v10,v11,v12,v13,v14,v15 : array[1..NumFiles] of
real;

v16,v17,v18,v19,v20,v21,v22,v23,v24,v25,v26,v27,v28,v29,v30: array[1..NumFiles]
of real;

DataWindowHandle: array[1..NumFiles] of integer;

vLabel, FileNames: array [1..NumFiles] of string;

OutputFilename, OutputPath: string;


procedure ReadAFile;

var

i: integer;

real1, real2: real;

begin

OpenFile(file '?' , type dataType);

end;


begin

FileCount := 0;

ReadAFile;

end;

Thanks much.

-- 
Joseph Walrath, MD
Departments of Ophthalmology
Columbia University, Edward S. Harkness Eye Institute
St. Vincent's Catholic Medical Center
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://quantum-soft.com/pipermail/profit-list_quantum-soft.com/attachments/20080110/2c69c1f6/attachment.html 


More information about the proFit-list mailing list