home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 5 / 05.iso / a / a012 / 1.ddi / CHAP15.EXE / CHP1516.PRG < prev    next >
Encoding:
Text File  |  1991-04-30  |  650 b   |  27 lines

  1. /*
  2.    Listing 15.16. The SameRow() function.
  3.    Author: Craig Yellick
  4.    Excerpted from "Clipper 5: A Developer's Guide"
  5.    Copyright (c) 1991 M&T Books
  6.                       501 Galveston Drive
  7.                       Redwood City, CA 94063-4728
  8.                       (415) 366-3600
  9. */
  10.  
  11. function SameRow(colsOver, what, pict)
  12. /*
  13.    Move over specified number of columns and
  14.    print something, using optional picture.
  15. */
  16.   if what = nil
  17.     what := ""
  18.   endif
  19.   if pict = nil
  20.     @ prow(), pcol() +colsOver say what
  21.   else
  22.     @ prow(), pcol() +colsOver say what picture (pict)
  23.   endif
  24. return nil
  25.  
  26. // end of file CHP1516.PRG
  27.