On Aug 5, 2009, at 4:52 PM, Andrew Stubblefield wrote: > I am trying to upgrade a circa 1999 FB program to run on FB 5 and OSX. > One of the issues I am encountering is > > OPEN "O",1,filename$ > does not work: "Not implemented" That's because in FB5 the OPEN statement uses either an FSSpec, FSRef or CFURLRef for the directory information. The format in your post implies the working directory format which is not supported. > > Looking at the help files I get lots of instructions regarding > @FSS spec which I cant interpret. Maybe you would share which help you were unable to interpret? Right now we are updating a lot of the help files for the editor, so knowing what you're seeing would help. Please specify if you are looking at FBtoC help ( i.e. help from the FBtoC app's help menu ) or help from the FB5 editor help menu. > Is there an easy way to open and write to a file on the desktop > or some example code you could point me too? Yes to both questions. First, if you haven't done so already, download the FB 5.3 examples ( they are on the same web page as the FB 5.3 package ). In the examples folder is a "Files" folder that should get you started with examples using FSSpec, FSRef or CFURLRef. The 'File_Directory examples" sub folder within Files is for standard file access. The File Directory [FD] calls are all documented but if you will still need to learn to use at least one of FSSpecs, FSRefs and CFURLRefs The FD demos 'FileDirectory Demo[xxxxxx]' show how to create/write a file to the desktop and also create a folder. FSSpec support is maintained for compatibility with older FB programs but FSRef or CFURLRef may be used too. Keep in mind that Apple has deprecated FSSpecs ( new in 1985 but ancient now ), so if you are converting it would be a good time to make a break to latest technology. Not using FSSpecs has some advantages, and depending on the needs of your application and your application users, it might make better sense to use the modern FSRef or CFURLRef. Brian S.