ResultsInK

Prev Next Home Home Table Of Contents Index

ResultsInK (On/Off)

Normally the value returned by TotalDiskSpace and other similar disk functions are returned in bytes. When ResultsInK is set to true the values return are in K (1024 bytes). This allows you to show the total disk space on drives larger than 2 gigabytes.


Example:
ResultsInK Writeln FreeDiskSpace('.') / 977 ' Mb' ;1,000,000 / 1024 = 997

See Also: FreeDiskSpace UsedDiskSpace TotalDiskSpace

Category: System

Prev Next Home Home Table Of Contents Index

Sponsors
Shopping
Forum
Forum
email
EMail
Index
Index
Home
Home