Navigation:  Reference > Functions >

Fnum()

Print this Topic Previous pageReturn to chapter overviewNext page

Fnum()

This was a TAS5 function that is still in TAS7 can be useful if you use the old TAS5 Open Command to open files rather then using the preferred Findv Command.

By giving it the filename as a standard constant (i.e., the name surrounded by quotes--“BKARCUST”), it will return the proper file number. for a File name.

 

The embedded FNUM() in the following example will provide the file number for the file BKARCUST:

FLERR(FNUM(“BKARCUST”))

//The example shown above would return any file errors for the file BKARCUST. This os only one example there are may other TAS Pro coaamd that would used this FNUM()

 

Comment

While we recommend you change the OPEN to and OPENV this will make a lot of the fuction in TAS professional work with the old open command.

 


Page url: http://www.cassoftware.com/tas/manual/fnum.htm