defining default folder?

redhexagonal's icon

this is confusing me..

firstly, if i name a file to open in a buffer~ objects arguments, wher does it look for that file? what happens if there are two identical files in different folders in the search path?

second, when i send a write message to buffer~ where does it save my file to? i know its maybe the default folder? but i'm not having much luck...tried filepath object, doesnt seem to do much

jln's icon
redhexagonal's icon

this is driving me crazy. how do i set the default folder for saving files to?

i'm sending set messages to , i can set the folder sometimes, and it may work once , then it changes to something else. i dont understand at all