DISK_KILO_SIZE()

DISK_KILO_SIZE(D)

RETURNS THE SIZE OF DISK D IN KILO-BYTES

  • Type: Function
  • Parameter: 1
  • Group: System

ACTION

The fonction DISK_KILO_SIZE(D) returns the size of disk D expressed in kilo-bytes.

1 kilo-byte = 1024 bytes.

D is one letter from A to Z.

SYNTAX: Result=DISK_KILO_SIZE(D)

  • D = disk name.

USE

  • The function DISK_KILO_SIZE() is used to know the size of a disk.

ERROR

  • If D is not a correct name of disk.
  • If D is not one character.

EXAMPLE

rem print the size of the disk C

print disk_kilo_size("C")

SEE ALSO

DISK_EXISTS()

DISK_KILO_FREE()