putstreamf.i 691 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 = BDrucker.Drufettb
  17. + FILL(" ", VRand) + VZeile
  18. + BDrucker.Drufette
  19. + FILL(CHR(10), {1}).
  20. PUT STREAM Out_Stream CONTROL VZeile.
  21. END.
  22. VLine = VLine + {1}.
  23. VZeile = "".