The following sections describe the menu functions built into menu that are available for menufile commands, menu commands and choice commands. Table 8-19 describes the built-in functions available.

Table 8-19: Functions

Function Description

basename return suffix and/or prefix of expression

directory directory exists predicate

eval evaluate System command

file file exists predicate

interrupt set and return interrupt status

length return length of string

match match string from expression

result return string from match function

strleft return left part of string

strlen return length of string

strmid return middle part of string

strright return right part of string

size return size of file

The built-in menu functions listed in Table 8-19 are only available when the built-in menu commands are enabled.