
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>getvolume() - get the volume label of specified disk</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Name: getvolume() - get the volume label of specified disk
Usage: <string> = getvolume([<drive>])
Params: string <drive> - drive letter to check, optional - if
none, then the default is the currently logged drive
Returns: string equal to the volume label of <drive>
---------------------------------- Example ---------------------------------
mem1 = drivestr()
for x = 1 to drives()
@ 10,x say "Volume label of drive "+;
substr(mem1,x,1)+": "+;
getvolume(substr(mem1,x,1))
next
Note: This function sets ferror() if an error occurs.
See Also: setvolume() delvolume()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson