MIAMEX 22: Get directory separator char

xcall MIAMEX, MX_DIRSEP, character

MX_DIRSEP returns a single byte parameter (usually a string) into which the directory separator character is placed. This is the character used in specifying host pathnames, and is usually a forward slash ( / ) for UNIX systems, and a backslash ( \ ) for Windows systems. Knowing this is useful when parsing native filespecs and also as a quick way of determining which of the two classes of operating systems you are running on. See MX_FINDEND for additional information and a program example.