home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
xbase
/
library
/
clipper
/
rettig
/
source
/
isdsdate.c
< prev
next >
Wrap
C/C++ Source or Header
|
1990-10-21
|
465b
|
24 lines
/*********
*
* ISDSDATE.C
*
* by Tom Rettig
*
* Placed in the public domain by Tom Rettig Associates, 10/22/1990.
*
* Syntax: ISDSDATE( <date string> )
* Return: True if <date string> is a valid date, otherwise False
* Note : <date string> is <expC> in the DTOS() format "YYYYMMDD"
********/
#include "trlib.h"
TRTYPE isdsdate()
{
if ( PCOUNT == 1 && ISCHAR(1) )
_retl( _tr_isdsvalid(_parc(1)) );
else
_retl( FALSE );
}