Search found 372 matches

by stevepoole
Sun Jan 17, 2021 1:03 pm
Forum: Software & Programming
Topic: Epicyclic doodles
Replies: 4
Views: 307

Re: Epicyclic doodles

Hi, Finally, there IS an undocumented way of implementing PAUSES in JavaScript : First open a new tiny window and close it again immediately. This forces pending graphics to be drawn on the main screen beforehand ! Then, call a dud FOR loop to waste some time... the 'pause'. OK on FireFox, but Chrom...
by stevepoole
Wed Jan 13, 2021 10:16 am
Forum: Software & Programming
Topic: QL Ruins ACT - 1st problem random number within a range of.
Replies: 29
Views: 3241

Re: QL Ruins ACT - 1st problem random number within a range of.

Hi Van,

Is this demo of any use to you ? (All you need is line 120).

100 DIM t(17):
110 FOR i=1 to 999:
120 n=INT(RND*17)+1: IF n=18: GOTO 120
130 t(n)=t(n+1): AT t(n): PRINT '.'
140 END FOR i

Steve.
by stevepoole
Wed Jan 13, 2021 9:15 am
Forum: Software & Programming
Topic: QL Ruins ACT - 1st problem random number within a range of.
Replies: 29
Views: 3241

Re: QL Ruins ACT - 1st problem random number within a range of.

Hi Van,

<< (65535 / 17 for range of 17 locations) >> Is this division done using DIV and/or MOD ? If so you may well have problems...

Steve.
by stevepoole
Tue Jan 12, 2021 10:57 pm
Forum: Software & Programming
Topic: Epicyclic doodles
Replies: 4
Views: 307

Re: Epicyclic doodles

Hi Folks, After some exchanges with a JavaScript Tutorial Forum, it would appear that the language is basically intended for developers of websites. This means that such programs as those that were written for vintage computers are not really welcome, as they may represent supports for malware attac...
by stevepoole
Fri Jan 08, 2021 5:42 am
Forum: The Off-Topic Section
Topic: I hate BREXIT !
Replies: 41
Views: 1269

Re: I hate BREXIT !

Hi Folks,

Ajb wote : << they'll be moving onto religion soon. >>

'Sinclair' is the anglicised form of the Norman 'Saint Clerc', litterally a 'holy scribe'.... engraved in Silicon ?

So there you have it !

Steve.
by stevepoole
Thu Jan 07, 2021 9:42 pm
Forum: Software & Programming
Topic: Epicyclic doodles
Replies: 4
Views: 307

Re: Epicyclic doodles

Hi Xora, Many thanks indded for the information. I have tried out the proposed code, but think I need to study it a bit more, as there are some new concepts to me, such as asynchronous functions. But from my first attempts, it would appear that the code uses timeouts, which do delay function calls, ...
by stevepoole
Thu Jan 07, 2021 10:05 am
Forum: Software & Programming
Topic: Epicyclic doodles
Replies: 4
Views: 307

Epicyclic doodles

Hi Folks, As part of my JavaScript learning curve, I dug out an old SuperBasic doodle to transcode. Just LRUN and watch the QL _bas version, or unzip and click on the .html file on your PC. In SuperBasic, PAUSEs allow the graphics to be seen, but in JavaScript there is no keyword equivalent.... So I...
by stevepoole
Thu Jan 07, 2021 6:52 am
Forum: The Off-Topic Section
Topic: I hate BREXIT !
Replies: 41
Views: 1269

Re: I hate BREXIT !

Hi Folks, Please don't think that the video (with Zemmour) in any way represents typical french opinion... He is recognised as an unfrequentable extremist ! To my mind, Brexit happened because of the ' yes/no' vote, which left no choice for middle-grounders ! A ' yes/renegotiate/no' choice would hav...
by stevepoole
Sat Jan 02, 2021 6:52 am
Forum: Software & Programming
Topic: The comp.sys.sinclair Crap Games Competition 2021: 25th edition extravaganza!
Replies: 8
Views: 470

Re: The comp.sys.sinclair Crap Games Competition 2021: 25th edition extravaganza!

Hi Folks, Here is THE ultimate crap game for 2021 : PRINT RND(1 to 7). 'Craps' is a yankee casino game : Throw two dice to score a total of seven. Intellectual, no ? But 'crap' (singular), would require one seven-sided dice. Impossible ? The QL can do it, as seen above..... So, the QL broke the bank...
by stevepoole
Fri Jan 01, 2021 7:25 am
Forum: General QL Chat
Topic: Season's greetings
Replies: 26
Views: 1072

Re: Season's greetings

Hi Folks,

2021 Greetings.....

<< Grab a Jab... >>

Steve.