Please stop cross-posting your questions.
At 07:29 AM 8/30/00, Paul Steven wrote:
>Hi there
>
>I am making an app like an email address book where I am storing data as an
>external text file.
>
>As the user adds details of new contacts I will add each to a property list
>which is in the following format:
>
>pList_Of_Contact_Data=[["Name":"Paul","Email":"[EMAIL PROTECTED]","Cou
>ntry":"England"],["Name":"Tiffany",........ etc
Several of us have noticed a flaw in fileIO when reading a line of various
lengths. In my case (also using lists within a list) a line greater than 2K
chars got truncated & I could not convert the string back into a string.
Someone else reported that there's was truncated a x chars, but when they
had x + 1 chars it worked again.
The cure in my case was to save each of the lists on a separate line and
reconstruct them into a single list after reading them.
Also, be sure none of your properties have a value of VOID. Use a 0 or ""
for any properties that should be empty.
--
Mark A. Boyd
Keep-On-Learnin' :)
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]