/* $DOC$ $NAME$ ft_TempFil() $CATEGORY$ DOS/BIOS $ONELINER$ Create a file with a unique name $SYNTAX$ ft_TempFil( [ ] [, ] ) -> cFileSpec $ARGUMENTS$ is the directory where you want to create the temporary file. If you omit this argument, the root of the current drive is assumed ("\"). If is .T., then the file will be created with the hidden attribute set. The default is .F. $RETURNS$ should be your path, including the name of the newly created unique file. You are safe to create a new file with this filename. If a DOS error occurred when trying to create the file, a null string will be returned. $DESCRIPTION$ This function uses DOS Interrupt 21, service 5Ah (Create temporary file) to create a unique filename in a directory you specify. There will be no extension. After the file is created, you may do any I/O you need (see the test driver in the source code). This function requires ft_int86(). $EXAMPLES$ // Create a unique file in the root of the current drive: ? ft_TempFil() // Create a unique file in the current directory and hide it: ? ft_TempFil( ".", .T. ) // Create a unique file on another directory, but do not hide it: ? ft_TempFil( "mytempdir" ) $END$ */