Using the Tab Style Page Templates > Tab Style Template Reference > Tab Style Template Functions > DspFileGetAn

DspFileGetAn

Gets the Animation Number (AN) on the provided file template where the text file is displayed. The returned AN can be passed to the DspFile family of Cicode functions such as DspFileGetInfo(), DspFileGetName(), DspFileSetName etc. to further manipulate the text file.

Syntax

DspFileGetAn([iAN])

iAN

The AN where text file is displayed. Do not specify this argument unless you would like to override the value maintained by the template. Default value -1.

Return Value

The AN where the text file is displayed, otherwise -1 is returned.

Related Functions

Display Functions

See Also

Tab Template Functions