Click or drag to resize

FName Function

X#
Return the name of the file found by FFCount(), FFirst(), or FNext().

Namespace:  XSharp.Core
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.21
Syntax
 FUNCTION FName() AS STRING
Request Example View Source

Return Value

Type: String
Remarks
Examples
This example uses FName() to return the names of files matching *.TXT:
X#
1? FFirst("*.txt", FC_NORMAL)
2? FName()                // Return first file matched
3? FNext()                // Find next file matching *.txt
4? FName()                // Return second file matched
See Also