putzeilf.i 668 B

12345678910111213141516171819202122232425
  1. IF BDrucker.Emul = "TERMINAL" THEN DO:
  2. VZNr = VZNr + 1.
  3. CREATE XTermOut.
  4. ASSIGN XTermOut.ZNr = VZNr
  5. XTermOut.Zeile = VZeile.
  6. IF {1} > 1 THEN DO:
  7. DO ii = 2 TO {1}:
  8. VZNr = VZNr + 1.
  9. CREATE XTermOut.
  10. ASSIGN XTermOut.ZNr = VZNr
  11. XTermOut.Zeile = ''.
  12. END.
  13. END.
  14. END.
  15. ELSE DO:
  16. VZeile = FILL(" ", VRand) + VZeile.
  17. PUT CONTROL BDrucker.Drufettb.
  18. PUT VZeile.
  19. PUT CONTROL BDrucker.Drufette.
  20. PUT "" SKIP({1} - 1).
  21. END.
  22. VLine = VLine + {1}.
  23. VZeile = "".