>>-name--------------------------------------------------------><
Example 5.212. Class FILE - name method
/* On Windows */ say .File~new("c:\program files\oorexx\rexx.exe")~name -- rexx.exe say .File~new("c:\")~name -- empty string say .File~new("c:")~name -- empty string /* On Unix */ say .File~new("/opt/ooRexx/bin/rexx.img")~name -- rexx.img say .File~new("/")~name -- empty string