Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
String Types
◄Dos Unit► ◄Contents► ◄Index► ◄Back►
TYPE
ComStr = STRING[127]; { DOS command line }
PathStr = STRING[79]; { full file path (filespec) }
DirStr = STRING[67]; { drive and directory }
NameStr = STRING[8]; { file name }
ExtStr = STRING[4]; { file extension }
Unit: Dos
Context: Exec, FExpand, FindFirst, FSearch, FSplit
Description
The string types are used as parameters by several procedures.
The Exec procedure uses the types PathStr and ComStr. PathStr is
the type passed to the FExpand procedure. It is one of the types
passed to the FindFirst and FSearch procedures. The FSplit
procedure expects parameters of the types PathStr, DirStr, NameStr,
and ExtStr.
The type requirements are not enforced if {$V-} is set.