ok, so i know how to write to an existing file, how do i create the file, 
if it doesn't exist? i want to do something like, 

pseudocode -- ewww!
if the file exists{
     write to it
}

if the file does not exist{
     create it
     write to it
}

close the file
 

Reply via email to