Skip to content

SSZ

Sector Size

This numeric function returns the size of sectors on the disk containing the specified logical disk directory. The value returned is the number of bytes expressed as a numeric decimal value.

SSZ (disk-num [,ERR=line-ref|,ERC=error-code])
disk-num
specifies a logical disk directory on the physical disk drive. Valid values are 0 through 35.
line-ref
is the program line number or label to branch to if an error is produced by this function.
error-code
is a programmer-defined error code. Valid values are positive or negative whole numbers.
LET S = SSZ (3)

If S = 1024 then the physical disk containing logical disk directory number 3 has a sector size of 1024 bytes.

From the Thoroughbred Basic Language Reference, Volume III: R–Z, version 8.9.1. Open this page in the PDF