[DGD]Loading a file into an array
Adam David
adam at veda.is
Mon Jun 19 21:43:05 CEST 2000
> I have this little problem: I should load an over 64kb (which is the maximum
> size for strings in DGD) file into the memory somehow. When trying to read
> the whole file into a string, I just get an error message, "String too long"
> When I try to read the file into an array line by line, I get
> "Array too large".
>
> So, anyone have any ideas (or a working algorithm) to do this?
>
> Regards,
> Risto Karjalainen
If an array of strings is too small, how about an array of such arrays?
Do you really need it all (or more than a small number of subsections)
in memory at once?
Adam David <adam at veda.is>
List config page: http://list.imaginary.com/mailman/listinfo/dgd
More information about the DGD
mailing list