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_ntol() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_NTOL()

 DESCRIPTION

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

 NOTES

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

 SYNTAX

 C_NTOL(drive)

 PARAMETERS

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

 RETURNS

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

 EXAMPLES

 c_ntol(1) --> A
 c_ntol(2) --> B
 c_ntol(3) --> C
 c_ntol(4) --> D


 && Uses C_NTOL() with C_ISDISK() which requires a drive letter.
 if !c_isdisk(c_ntol(2))
   ? "Drive B: Not Installed"
 endif

See Also: C_LTON()

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