Search found 313 matches

by stevepoole
Sat Sep 19, 2020 10:29 pm
Forum: Software & Programming
Topic: QL USER type-in programs
Replies: 7
Views: 296

Re: QL USER type-in programs

Hi, In the early days of computing, people relised that programs could be almost excluseively written using just IF and GOTO Label ! They soon realised the need for more intuitive structures.... Even now, when I translate SuperBasic into ProPascal, some instances of GOTO cannot be avoided. (SB 'Loop...
by stevepoole
Sat Aug 29, 2020 11:22 pm
Forum: Software & Programming
Topic: ProPascal INPUTs
Replies: 7
Views: 541

Re: ProPascal INPUTs

Hi Guys, Without going into details, Propascal string 'lengths' are no good for dealing with numeric inputs. Propascal arrays are not much use either... After a lot of experimenting, I finally had to resort to using Tofro's INKEY function to construct my own integer INPUT routine. Programs are now w...
by stevepoole
Fri Aug 28, 2020 3:37 pm
Forum: Software & Programming
Topic: ProPascal INPUTs
Replies: 7
Views: 541

Re: ProPascal INPUTs

Hi Tofro, Many thanks. Yes, your solution does work for strings. I still can't see any way to avoid people entering a null string when an integer or real value is requested... If ProPascal had a 'power' function, I could do it by adding powers of ten, but there is none... Do Pascal programmers need ...
by stevepoole
Thu Aug 27, 2020 8:16 am
Forum: Software & Programming
Topic: ProPascal INPUTs
Replies: 7
Views: 541

ProPascal INPUTs

Hi All, After transcoding a dozen or so SuperBasic programs into ProPascal, I am now feeling much more at ease with the latter language. I can error-trap character and integer input, but not string-type... The main difficulty is to trap the dreaded null entry ! Has anyone overcome this hurdle ? Rega...
by stevepoole
Fri Jul 24, 2020 10:36 pm
Forum: Software & Programming
Topic: Prospero Pascal BEEP
Replies: 16
Views: 1676

Re: Prospero Pascal BEEP

Hi Tofro, The Illusion program is now transcoded into Prospero Pascal, after the usual teething troubles : Routines have to be entered in reverse call order. Apparently their is a Forward command to avoid this ! PENUP means calculating LINES, but not drawing them : Easy when twigged... Turtle comman...
by stevepoole
Wed Jul 22, 2020 5:45 am
Forum: The Off-Topic Section
Topic: Neither QL nor FORTH
Replies: 5
Views: 499

Re: Neither QL nor FORTH

Hi Polka,

What is 'Component Pascal', and how does it differ from Pascal ?

Steve.
by stevepoole
Mon Jul 20, 2020 10:35 pm
Forum: Software & Programming
Topic: Prospero Pascal BEEP
Replies: 16
Views: 1676

Re: Prospero Pascal BEEP

Hi Tofro, Many thanks for your advice. It will save a lot of thrashing around ! I can convert turtle graphics using standard geometry routines. (I did such things many years ago, but they are lost on microtapes, so I will need to do them again...). As for reading data, I must study the Pascal Manual...
by stevepoole
Mon Jul 20, 2020 7:53 am
Forum: Software & Programming
Topic: Prospero Pascal BEEP
Replies: 16
Views: 1676

Re: Prospero Pascal BEEP

Hi everybody, 1) Turtle graphics, (pendown, penup, turnto, turn and move), are missing on Prospero Pascal. Has anyone been able to implement these for that language ? 2) Restore, read and data are also missing, but I doubt if they can be emulated ? (Workarounds are possible, if clumsy) ! Many thanks...
by stevepoole
Sat Jul 04, 2020 11:16 pm
Forum: Software & Programming
Topic: Prospero Pascal BEEP
Replies: 16
Views: 1676

Re: Prospero Pascal BEEP

Hi Folks, Thanks to Tofro, we now have both BEEP and INKEY$ routines for Prospero Pascal which work fine. So now we can produce Pascal games (with the equivalent of RANDOMISE), with full sound... Our aim is to transcode QL programs to run on other systems.... DONE ! But we write our code first on QL...
by stevepoole
Tue Jun 30, 2020 10:53 pm
Forum: Software & Programming
Topic: Prospero Pascal BEEP
Replies: 16
Views: 1676

Re: Prospero Pascal BEEP

Hi, Prospero's Pascal lacks an INKEY$ routine, which makes the language cumbersome to use, as the alternatives all require an ENTER. I have devised a random-seeding method to emulate 'Randomise', which is no better than a 'card shuffle', but if there were an INKEY$, it could be greatly enhanced. Wit...