RETURNS A FILE NAME FROM F
ACTION
The function FILE_EXTRACT_NAME$(F) returns a file name from the expression F.
The result is meaningfull when F is an absolute name.
If there is no name in the expression F, an empty string is returned.
SYNTAX:
Result$=FILE_EXTRACT_NAME$(F)
USE ERROR EXAMPLE
rem create an open_dialog to point a file
open_dialog 1
rem display as window title the name of the chosen file
caption 0,file_extract_name$(file_name$(1))
FILE_EXTRACT_NAME$()
FILE_EXTRACT_NAME$(F)
SEE ALSO
FILE_EXTRACT_EXTENSION$(F)
FILE_EXTRACT_DISK$(F)
FILE_EXTRACT_PATH$(F)