isfilevaratt

This function is used to check if file variable attributes are defined in a file variable before accessing them.


Synopsis

	function isfilevaratt( 
		thefile[1]:file,
		varname[1]:string
		attnames:string
	)

Arguments

thefile
thefile is the file to check.
varname
varname must be single string variable name.
attnames
attnames must be an array of strings, but can have any dimension.

Description

For each element in the attnames parameter, isfilevaratt returns True if the element is an attribute of the file variable varname in the file thefile and False if not. The output of isfilevaratt is a logical array with the same dimensions as the attnames parameter. If the parameter thefile is not a valid file or varname isn't a defined file variable, then a single missing value is returned.

Reference Manual Control Panel

NG4.1 Home, Index, Examples, Glossary, Feedback, Ref Contents, Ref WhereAmI?


$Revision: 1.5 $ $Date: 1998/06/15 21:29:51 $