Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>arrayprint() - print the elements of an array to printer</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     arrayprint() - print the elements of an array to printer
  Usage:    <logical> = arrayprint(<array>)
  Params:   array <array> - the array of strings to print
  Returns:  .T. if the array was printed successfully, .F. if error

 ---------------------------------- Example ---------------------------------

                 declare printarray[5]

                 printarray[1] = "This is the first line"
                 printarray[2] = "And this is the second line"
                 printarray[3] = "the next line is blank"
                 printarray[4] = ""
                 printarray[5] = "This is the last line"

                 if .not. arrayprint(printarray)
                      ? "Error printing to printer!"
                 endif

  Note:     Unlike amacprint(), arrayprint() does not macro expand
            the strings contained in the array. They are
            sent as literals to the printer. All the elements
            in the array must be defined. This function is an
            example function contained on the source disk in the
            file c_aprint.prg.


See Also: amacprint() afileread()

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