VOLUME LIST

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 6.0


VOLUME LIST (volumes)

ParameterTypeDescription
volumesArrayNames of the volumes currently mounted

Description

The VOLUME LIST command populates the Text or String array volumes with the names of the volumes currently defined (Windows) or mounted (Macintosh) on your machine.

On Macintosh, it returns the list of the volumes visible at the Finder level.

On the other hand, on Windows, it returns the list of the volumes currently defined whether or not each volume is physically present (i.e. the volume A:\ will be returned whether or not a disk is actually present in the floppy drive).

Example

Using a scrollable area named asVolumes you want to display the list of the volumes defined or mounted on your machine, you write:

   Case of
      : (Form event=On Load)
         ARRAY STRING(31;asVolumes;0)
         VOLUME LIST(asVolumes)
      
         ` ...
   End case

See Also

DOCUMENT LIST, FOLDER LIST, VOLUME ATTRIBUTES.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next