RECSIZE( ) example
The following example uses RECSIZE( ) to determine if there is enough disk space to append the records contained in another file (which might be on a CD-ROM or other large capacity disk). The other file is opened with the alias "OTHERFILE":
if reccount( "OTHERFILE" ) * recsize( ) > diskspace( )
msgbox( "Insufficient disk space to append records", "Error", 48 )
endif