special folders

Richard Gaskin ambassador at fourthworld.com
Wed May 2 17:29:46 EDT 2007


Ken Ray wrote:
> It is therefore useful to use the specialFolderPath() function instead 
> of hardcoding paths - especially when it comes to other languages. 
> Although I don't know this for sure, it wouldn't surprise me to find 
> out that certain folders are named differently in other localized OSes. 

One more reason:  things change.

For example, specialFolderPath(26) works great on both XP and Vista, but 
returns different values.  Woe be to the developer using hard-coded 
paths....


-- 
  Richard Gaskin
  Managing Editor, revJournal
  _______________________________________________________
  Rev tips, tutorials and more: http://www.revJournal.com



More information about the use-livecode mailing list