Product Site

5.4.17.6. directorySeparator

Returns the platform-specific directory separator used by the file system, "\" on Windows, and "/" on Unix-like systems.

See also File method separator, which provides the same information.

Example 5.286. RexxInfo class — directorySeparator method
say .RexxInfo~directorySeparator    -- "\" /* Windows */
say .RexxInfo~directorySeparator    -- "/" /* Unix-like system */