putzeily.i 609 B

123456789101112131415161718192021
  1. IF BDrucker.Emul = "TERMINAL" THEN DO:
  2. VZNr = VZNr + 1.
  3. XZeile = {1}.
  4. CREATE XTermOut.
  5. ASSIGN XTermOut.ZNr = VZNr
  6. XTermOut.Zeile = XZeile.
  7. IF {2} > 1 THEN DO:
  8. DO ii = 2 TO {2}:
  9. VZNr = VZNr + 1.
  10. CREATE XTermOut.
  11. ASSIGN XTermOut.ZNr = VZNr
  12. XTermOut.Zeile = ''.
  13. END.
  14. END.
  15. END.
  16. ELSE DO:
  17. XZeile = FILL(" ", VRand) + {1} + FILL(CHR(10), {2}).
  18. PUT STREAM Out_Stream CONTROL XZeile.
  19. END.
  20. VLine = VLine + {2}.