Login
Back to forumSee the full topicGo to last reply

Posted By

gerliczer
on 2019-04-23
00:23:20
 Re: PRINT statement fills the RAM

Let's see a little code in action.

LIST

5 PRINTFRE(0)
10 A$="X"
15 PRINTFRE(0)
20 PRINT"7777777777777777777777777777777
77777777777777777777777777777777"
25 PRINTFRE(0)

READY.
RUN
60557
60547
7777777777777777777777777777777777777777
77777777777777777777777
60547

READY.

It seems to me that even though the string really gets copied into the work area at the end of the available RAM, it doesn't really waste memory. If I were you I'd shrug and go on with my stuff. There should be no problem until you fill memory up to the brim.



Back to top


Copyright © Plus/4 World Team, 2001-2024