Retrieve path or history: [NewPath]=defaultpathNew(tag) [NewPath,Pathlist]=defaultpathNew(tag) Set path and history: defaultpathNew(tag,NewPath) [NewPath]=defaultpathNew(tag,NewPath) [NewPath,Pathlist]=defaultpathNew(tag,NewPath)
Store or retrieve default path NOTE: this module replaces defaultpath
tag: integer of char string identifier (deafults to 1).
NewPath: path history
if no input, path will be retrieved from preference settings
if setting does not exist, default path = pwd/data
if directory pwd/data does not exist default path =defaultPath
defaultPath (optioneel) default: pwd
NewPath: preferred path (existence has been checked)
| Pathlist | any | history of last 25 selected paths (existence has been checked |