Please enable JavaScript to view this site.

A-Shell Consolidated Reference

Reviewed and revised May 2024

xcall MIAMEX, MX_DIRSEP, character

MX_DIRSEP (MIAMEX 22) 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.