Difference between revisions of "DISKSPACE()"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) |
||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Function to return available disk space | Function to return available disk space | ||
Line 34: | Line 30: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital Server, Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] |
Latest revision as of 16:54, 27 November 2009
Purpose
Function to return available disk space
Syntax
DISKSPACE()
See Also
HEADER(), RECCOUNT(), RECSIZE(), SET DEFAULT
Description
The DISKSPACE() function returns the available space on the default disk drive. The available space is represented in bytes as a numeric value. You can set the default drive (OpenVMS) and directory with the SET DEFAULT TO command.
Example
? diskspace() 60754290 // Example of a routine within a program use patrons size = header()+recsize()*reccount() if size > diskspace() dialog box "Insufficient disk space." return endif
Products
Recital Server, Recital