Difference between revisions of "APRINTERS()"

From Lianjapedia
Jump to: navigation, search
Line 6: Line 6:
  
 
==See Also==
 
==See Also==
[[GETPRINTER()]], [[PRINT]], [[SET CONSOLE]], [[SET PRINT]], [[SET PRINTER]], [[SETPRC()]]
+
[[GETPRINTER()]], [[SET CONSOLE]]
  
 
==Description==
 
==Description==
Line 16: Line 16:
 
? printerlist
 
? printerlist
 
</code>
 
</code>
 
  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]

Revision as of 13:07, 4 January 2013

Purpose

Function to return number of available printers and load an array with printer names

Syntax

APRINTERS(<array>)

See Also

GETPRINTER(), SET CONSOLE

Description

The APRINTERS() function returns the number of available printers and loads the array <array> with the printer names. The <array> need not be pre-declared and will be overwritten and resized as required if it already exists.

Example

aprinters(printerlist)
? printerlist