Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- NetLib for Clipper, Version 6.0 - n_setdrv( [ <cdrive> ] ) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
N_SETDRV( [ <cDrive> ] )


Parameters

<cDrive>
Drive letter followed by a colon.


Returns

When called without an argument, the function returns the current 
drive. When a drive is passed, the function returns logical true if 
successful, false if not.


Description

When the function is called with an argument, it changes the current 
drive to whatever drive is specified.

Examples

// Set G as the current drive
N_SETDRV('G:')



See Also: N_SETDIR()

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