Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_lton() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_LTON()

 DESCRIPTION

 C_LTON() converts a specified drive letter to it's equivalent drive
 number.

 NOTES

 C_LTON() begins at one (1) where drive A: is equal to 1 (A=1, B=2, etc.).

 SYNTAX

 C_LTON(drive)

 PARAMETERS

 drive (C) is the drive letter to convert to a drive number.

 RETURNS

 C_LTON() returns the equivalent drive number for the specified
 drive letter as a numeric value  (A=1, B=2, C=3, etc.).

 EXAMPLES

 c_lton("A") --> 1
 c_lton("a") --> 1
 c_lton("B") --> 2
 c_lton("C") --> 3
 c_lton("D") --> 4


 && Uses C_LTON() with DISKSPACE() which requires a drive number.
 if diskspace(c_lton("A")) < 1
   ? "No more space"
 endif


See Also: C_NTOL()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson