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

UL_ReadPrefs

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

Description

Read in the preferences for the Utilities library, and set up the relevant global variables.

Used internally.


Code

on UL_ReadPrefs
  global ScriptWrapAround,UL_QuietStartup,Development
  
  get FL_ReadPrefs("Utilities Library")
  if it is not empty then
    put line 1 of it into UL_QuietStartup
    put line 2 of it into ScriptWrapAround
    put line 6 of it into Development
    
    set the scriptTextSize to line 4 of it
    set the scriptTextFont to line 5 of it
  else
    UL_DefaultPrefs
    UL_WritePrefs
  end if
end UL_ReadPrefs