Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GT_LIB v1.0 Reference Guide Release 1.0 - <b>check to see if a filename is valid</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Check to see if a filename is valid
------------------------------------------------------------------------------

 Syntax

        GT_IsFileName( cFile )

 Arguments:

      cFile - File name

 Returns:

      .T. if cFile is a valid DOS file name
      .F. otherwise

 Description:

      Checks to see that the given string passes the tests for validity
      as a DOS file.  Does not allow drive path or extension to be passed.

 Examples:

      Check that a file name is valid :

          lCheck := GT_IsFileName( ".txt" )

      returns .F.

 Source: DOSFILE.PRG

 Author:  Martin Colloby

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson