View Single Post
Old 02-01-2008, 10:14 PM   #3 (permalink)
Alan @ CIT
Member of the Month
The Frequenter
Member of the Month Top Contributor 
 
Alan @ CIT's Avatar
 
Join Date: Apr 2005
Location: South UK
Posts: 483
Thanks: 51
Alan @ CIT is on a distinguished road
Default

Is there a particular reason why you want the file format to be in that structure? It's not an ideal structure to read For example, to read a structure like that you'd have to read each 3 line block. This means that if you decided to add a 4th line to future blocks, the script would break quite badly.

If you really want that format is it possible that your app could use XML instead? That would make it a lot easier to read/write to and save a lot of work if you decide to change the format in the future

Alan
Send a message via MSN to Alan @ CIT
Alan @ CIT is offline  
Reply With Quote