ATTR$ FRE PRINTBUF
This page was last modified 13:42, 21 April 2018 by Mars2000you.

Contents

Effect

Returns the amount of bytes in memory that are currently used for the printer buffer created under MemMan 2 with PB.TSR

Syntax

ATTR$ FRE PRINTBUF

Example

With a 512kB memory mapper (program launched directly after installation of MemMan 2 and PB.TSR)

10 CLS:PRINT ATTR$ FRE PRINTBUF
20 PRINT:A$=INPUT$(1)
30 CMD CLEAR PRINTBUF 128
40 PRINT ATTR$ FRE PRINTBUF
50 PRINT:A$=INPUT$(1)
60 CMD CLEAR PRINTBUF 300
70 PRINT ATTR$ FRE PRINTBUF
80 PRINT:A$=INPUT$(1)
90 CMD CLEAR PRINTBUF 512
100 PRINT ATTR$ FRE PRINTBUF
 
RUN
 64
 128
 304
 432
Ok
 

Related to

CMD CLEAR PRINTBUF

Compatibility

MemManTSR BASIC with PB.TSR installed