Thread: Data Files
View Single Post
  #3  
Old 03-23-2006, 11:45 AM
betancourtb82 betancourtb82 is offline
Member
 
Join Date: Jan 2006
Posts: 103
Yes, I understand I can use the 'w' flag but what happens when I want to add data to the same data file. I can use the 'w' flag for the first time, but then i'd want to append to the file after that. I tried the 'w' flag and it printed out correctly, but then when I changed it to the 'a' flag, it went back to printing strangely again.

The 'w' flag prints like this:
Subject 12 Condition 1

The 'a' flag prints like this:
Subject Condition
Subject 12 Condition 2
Reply With Quote