HSA() Function - Highest Sector Available

Syntax

HSA(disk{,ERR=lineref})

Description

The HSA() function returns an integer that identifies the highest sector addressable for a disk.

Parameter

Description

disk

Valid disk name.

ERR=lineref

Branch to be taken if an error occurs during execution.

The HSA() function does not indicate if the sector is in use. Some host operating systems may not return a meaningful value for HSA(). The application developer should avoid using HSA().

Examples

>PRINT HSA("C:")
600
>PRINT HSA(2)
100

See Also

Functions - Alphabetical Listing