Cicode Programming Reference > Cicode Function Categories > Display Functions Introduction > DspFileGetName

DspFileGetName

Gets the name of the file being displayed in the display "window". You can use this function to display the file name on the screen.

Syntax

DspFileGetName(AN)

AN:

The animation-point number.

Return Value

The name of the file (as a string). If an incorrect AN is specified, an error is returned.

Related Functions

DspFile, DspFileGetInfo, DspFileScroll, DspFileSetName

Example

DspText(11,0,DspFileGetName(20));
! Displays the name of the file displayed at AN20.

See Also

Display Functions