news
About Elegant Chaos
info
About me and my friends
people
Software from Elegant Chaos
software
Other stuff...
stuff

FL_WritePrefs

Revision 1
Revised on 19/03/95 18:04

Description

Write a preferences file. Takes the name of the preferences file to write, and the contents of the file.

This routine looks uses FL_FindPrefs to choose where to write the preferences.


Code

on FL_WritePrefs name,prefs
  put FL_FindPrefs(name) into path
  open file path
  if the result is empty then
    write prefs to file path
    close file path
  end if
end FL_WritePrefs