Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Book 4-Appendices - <b>nnetpdev()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETPDEV()
 Determines the names of defined devices
------------------------------------------------------------------------------
 Syntax

     NNETPDEV([<cServer>,<nConId>]) --> aDevices

     Netware: 2.2 and 3.11

 Arguments

     <cServer>  Designates the name of the file server for which the
     device definition is used.  Your workstation must be attached to
     <cServer>.

     <nConId>  Designates the connection ID of your workstation on
     <cServer>.

 Returns

     NNETPDEV() returns a one-dimensional array that contains the names of
     the defined devices.

 Description

     NOVELL NET PRINT DEVICES
     Netware allows you to manage printer and form information in a database
     (NET$PRN.DAT).  NNETPDEV() allows you to access this database and use
     the information in your application.  The function returns an array that
     contains the names of the defined devices.

 Example

     Determine and display the defined devices:

     aDevices = NNETPDEV()
     FOR i = 1 TO LEN(aDevices)
     ? aDevices[i]
     NEXT i

See Also: NNETPFORMS()

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