/*
 *	File:					Exists().h
 *	Description:	Returns TRUE if a file exists
 *
 *	(C) 1993-1994, Ketil Hunn
 *
 */

#ifndef	EXISTS_H
#define	EXISTS_H

BOOL Exists(char *name)
{
	BPTR	fp;
	BOOL	exists=FALSE;

	if(fp=Open(name, MODE_OLDFILE))
		exists=TRUE;
	Close(fp);

	return exists;
}
#endif
