This short PD program creates a text window.
Now not being a programmer I was expecting something like - "Put your text here" - as a line in the listing but I don't see anything.
So what am I missing?
I assume there must be some entry point in the program for your own text to be included but where?
https://www.youtube.com/watch?v=DgC0F-fjZ70 (https://www.youtube.com/watch?v=DgC0F-fjZ70)
Quote from: ComSoft6128 on 06:24, 19 June 20
This short PD program creates a text window.
Now not being a programmer I was expecting something like - "Put your text here" - as a line in the listing but I don't see anything.
So what am I missing?
I assume there must be some entry point in the program for your own text to be included but where?
https://www.youtube.com/watch?v=DgC0F-fjZ70 (https://www.youtube.com/watch?v=DgC0F-fjZ70)
there is a WINDOW instruction at the end of the programm, so you can do almost what you want. NEW the programm and type another one (LOAD and RUN must be fine too)
unless there is no MODE or WINDOW command the text output will stay inside the limits of the window
More for show as an Instruction screen perhaps?
I remember AA having a Type-In called Pull-Down Menus, which is in Issue 38 (Nov. 1988) and in that is a little Notepad type application, with a Border around it for show, though it appears quite different from this show programme.
(https://www.cpcwiki.eu/imgs/8/87/PullDownMenusTI.png)
I must admit that program is pretty pointless, and it must boil down to:
10 mode 2
20 for a = 0 to 398 step 4:move 0,a:draw 640,a:next
30 window #0,10,60,10,20:cls #0
40 window #0,11,61,9,19:paper 1:pen 0:cls #0
As it came from a PD library it is likely, as @AMSDOS (https://www.cpcwiki.eu/forum/index.php?action=profile;u=330) suggested, to be instructional.