Gambas Documentation - /comp/gb.sdl.sound/cdroms

/comp/gb.sdl.sound/cdroms

# CDRoms (gb.sdl.sound)

This class is useful if you want to know the name of CDROM drives detected. CDRom class use returned name for managing them.

This class is static.
This class acts like a
Returns the name of a CDRom from its index.
read-only
static array.

Static properties
Returns the number of CDRom drives detected. Count

### Examples

    ' print available cdrom drives

    DIM i AS Integer

    FOR i=1 TO CDRoms.Count
      PRINT CDRoms[i]
    NEXT