News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_ComSoft6128

WINDOW.BAS

Started by ComSoft6128, 06:24, 19 June 20

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ComSoft6128

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

roudoudou

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
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
My pronouns are RASM and ACE

AMSDOS

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.



* Using the old Amstrad Languages :D   * with the Firmware :P
* I also like to problem solve code in BASIC :)   * And type-in Type-Ins! :D

Home Computing Weekly Programs
Popular Computing Weekly Programs
Your Computer Programs
Updated Other Program Links on Profile Page (Update April 16/15 phew!)
Programs for Turbo Pascal 3

Sykobee (Briggsy)

#3
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



ComSoft6128

As it came from a PD library it is likely, as @AMSDOS suggested, to be instructional.

Powered by SMFPacks Menu Editor Mod