home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
database
/
trl14db.zip
/
TRLPRG.EXE
/
EMPTY.PRG
< prev
next >
Wrap
Text File
|
1990-10-22
|
604b
|
26 lines
***********
* EMPTY.PRG
* by Tom Rettig and Leonard Zerman
* Placed in the Public Domain by Tom Rettig Associates, 10/22/1990.
*
* SYNTAX: DO EMPTY WITH <exp>
* RETURN: <expL> true if <exp> has empty value, otherwise false
***********
PARAMETERS par1
IF TYPE( "par1" ) = "D"
DO DTOS WITH par1
CALL Trpass WITH tr_retc
CALL Trexe WITH "D"
ELSE
CALL Trpass WITH par1
CALL Trexe WITH TYPE("par1")
ENDIF
CALL Trexe WITH "EMPTY"
CALL Trexe WITH "TRRETCLEN"
IF fox
PRIVATE tr_temp
tr_temp = SUBSTR(tr_retc,1,tr_retn)
RETURN (tr_temp)
ENDIF
* eof empty *