Read Me - Common Public License V1.0 - Copyright Notice(©)

absoluteFile


>>-absoluteFile------------------------------------------------><

Returns the fully qualified path as a new instance of File.

Class FILE - absoluteFile method


/* On Windows */
'cd c:\program files\oorexx'
say .File~new("my file")~absoluteFile~class        -- The File class
say .File~new("my file")~absoluteFile              -- c:\program files\oorexx\my file
say .File~new("..\my file")~absoluteFile           -- c:\program files\my file
say .File~new("..\..\my file")~absoluteFile        -- c:\my file
say .File~new("..\..\my dir\my file")~absoluteFile -- c:\my dir\my file

/* On Linux */
'cd /opt/ooRexx'
say .File~new("my file")~absoluteFile              -- /opt/ooRexx/my file
say .File~new("../my file")~absoluteFile           -- /opt/my file

Read Me - Common Public License V1.0 - Copyright Notice(©)