Hi list... Here's a weird one. The lingo below generates a preferences file if it doesn't previously exist. The default prefs file (a prop list) is theHeaderString. All well and good until it is read back in by FileIO where property pT morphs from pT in the first list to pt in the second list. [#pEnabled:"all", #pEmail:"", #pMgrEmail:"", #pLastAt:[#pC:"", #pM:"", #pS:"", #pT:""], #pBeenTo:[:]] [#pEnabled: "all", #pEmail: "", #pMgrEmail: "", #pLastAt: [#pC: "", #pM: "", #pS: "", #pt: ""], #pBeenTo: [:]]
Why did property pT become pt? Below is my lingo at that point. Thanks, Michael M. theHeaderString = "[#pEnabled:" & QUOTE & "all" & QUOTE & ", #pEmail:" & QUOTE & QUOTE & ", #pMgrEmail:" & QUOTE & QUOTE & ", #pLastAt:[#pC:" & QUOTE & QUOTE & ", #pM:" & QUOTE & QUOTE & ", #pS:" & QUOTE & QUOTE & ", #pT:" & QUOTE & QUOTE & "], #pBeenTo:[:]]" gFileIO.writeString(theHeaderString) theError = gFileIO.status() if theError <> 0 then alert("X") else gFileIO.openFile(pSavedFiles.pProgressPath, 0) gFileIO.setPosition(0) pProgress = value(gFileIO.readFile()) -- morphs to pt from pT end if [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/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!]