The .LoadFromFile method of the SysTools container classes isn't
designed to load arbitrary data into the container, rather it's
used to re-load data that has previously been saved using the
container's .SaveToFile method; both of which require registering
your container node type with the Delphi streaming engine (see
the section on "Stream Support" in the container class
introduction section of the manual).
To load a TStLArray with individual characters from an ordinary
text file will require iterating the file character by character
and creating and adding appropriate array nodes as needed.
Please be sure to read the introductory material on using the
SysTools container classes; then the example code in the manual
section on TStLArray and the EX1DARR.DPR, EX2DARR.DPR, and
EX3DARR.DPR example programs should get you started on using
TStLArray.
If you have troubles, please post again.
Stephen Posey [TurboPower Software]
--
Please respond to the newsgroups and not via email.
This way, everyone benefits from knowing what was said.
Replies to mails...@turbopower.com will be copied back
to the newsgroup.