< Futurebasic < Language < Reference
FILES$
Function
✔ Appearance ✔ Standard ✔ Console
Syntax
fileType$ = FILES$
Description
Returns the file type of the last file returned by the FILES$(_fOpen
...)
function, as a 4-character string. If the user clicked "cancel" in response to the last File Open dialog, or if the FILES$(_fOpen
...)
function has never yet been executed, then the FILES$
function returns an empty (zero-length) string.
Note:
In some cases it's useful to express the file type as a 4-byte long integer rather than as a string. Use the MKI$
function and the CVI
function to convert between these two forms.
See Also
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.