Search found 716 matches
- Thu Jul 15, 2021 6:49 am
- Forum: Software & Programming
- Topic: Loopy bugs
- Replies: 21
- Views: 4208
Re: Loopy bugs
Hi Bwinkel, On a QL, NEXT will increment in a FOR loop, but not in a REPeat loop. The QL uses NEXT in FOR loops to activate 'loop epilogues', but not in REPeat loops : 100 FOR loop=1 TO 5 110 PRINT loop !! 120 NEXT loop: REMark increments loop and falls through to epilogue on loop=5... 130 PRINT 'en...
- Mon Jul 12, 2021 8:58 am
- Forum: Software & Programming
- Topic: Dr. Jim's QL Dumping Ground
- Replies: 94
- Views: 26370
Re: Dr. Jim's QL Dumping Ground
Hi Again,
After further tests,the limit is 'f0='999999999', as with 10 digits there are rounding errors....
Ie: a='1234567891': b='1234567892': print a=b gives true !
Steve.
____________
After further tests,the limit is 'f0='999999999', as with 10 digits there are rounding errors....
Ie: a='1234567891': b='1234567892': print a=b gives true !
Steve.
____________
- Mon Jul 12, 2021 7:07 am
- Forum: Software & Programming
- Topic: Dr. Jim's QL Dumping Ground
- Replies: 94
- Views: 26370
Re: Dr. Jim's QL Dumping Ground
Yes Per, You are right, the routine is ok with big numbers. With f0='9999999999999999999', the program factorises correctly on QPC in 53 seconds, but f() needs to be DIMed as 39 ! with f0='1234567890123456789', the answer is right in less than a second... And the limit is for yet bigger strings.... ...
- Sat Jul 10, 2021 2:05 pm
- Forum: Software & Programming
- Topic: The comp.sys.sinclair Crap Games Competition 2021: 25th edition extravaganza!
- Replies: 126
- Views: 40514
Re: The comp.sys.sinclair Crap Games Competition 2021: 25th edition extravaganza!
Hi Folks, Many years ago, I experimented with writing 'stereo' music on my 128ko JS QL. Of course, with one speaker, this is strictly speaking impossible. So I wrote pulsed square-wave music, where 'low' is stereo one and 'high' stereo 2. The result allows two instruments to play 'simultaneously' in...
- Mon Jul 05, 2021 8:19 am
- Forum: Software & Programming
- Topic: Dr. Jim's QL Dumping Ground
- Replies: 94
- Views: 26370
Re: Dr. Jim's QL Dumping Ground
Hi TMD, After adapting your 'factors' program for SGC and QPC2, (using END FOR instead of NEXT etc), any number on my systems is factorised in less than a second.... The limiting factor on big numbers is not so much MOD as INT(). MOD is easy to rewrite, but not so INT(). DIY arithmetic operators on ...
- Thu Jul 01, 2021 3:54 am
- Forum: Software & Programming
- Topic: The comp.sys.sinclair Crap Games Competition 2021: 25th edition extravaganza!
- Replies: 126
- Views: 40514
Re: The comp.sys.sinclair Crap Games Competition 2021: 25th edition extravaganza!
Hi Tofro, There was a superb FIND_AREA / FILL_TEXTURE routine included in Talent's 'GraphiQL' program, never seen elsewhere ? Pity ! Probably recursive too... TMD : Thor struck the vikings down, because he liked to eat them fried ! Thanks for an honest review... as you say, you have to be nimble wit...
- Tue Jun 29, 2021 12:49 pm
- Forum: The Off-Topic Section
- Topic: Happy Birthday!
- Replies: 437
- Views: 218577
Re: Happy Birthday!
Cheer$ Chr$ !
Steve.
Steve.
- Tue Jun 22, 2021 9:02 am
- Forum: Software & Programming
- Topic: The comp.sys.sinclair Crap Games Competition 2021: 25th edition extravaganza!
- Replies: 126
- Views: 40514
Re: The comp.sys.sinclair Crap Games Competition 2021: 25th edition extravaganza!
Hi Folks, With the hot weather, don't forget to blow the dust off your circuit boards. My PC was running up to 70°C. Now down to 52°C... I finally got around to converting the 'Thunderbolt' screen saver into a game, after lots of tweaking to get rid of quirks. (Tested under QPC2 and SGC). LRUN then ...
- Wed Jun 02, 2021 6:23 am
- Forum: Software & Programming
- Topic: The comp.sys.sinclair Crap Games Competition 2021: 25th edition extravaganza!
- Replies: 126
- Views: 40514
Re: The comp.sys.sinclair Crap Games Competition 2021: 25th edition extravaganza!
Hi, Sorry for hogging this thread with screen savers. I will try finishing the 'games' versions soon. Here is another recursive version, a tree designer : Lrun or ESCape. The first counter is for recursions, the second for the total of branches. As 'pruning' is random, the trees are more accurately ...
- Mon May 31, 2021 5:51 pm
- Forum: Software & Programming
- Topic: The comp.sys.sinclair Crap Games Competition 2021: 25th edition extravaganza!
- Replies: 126
- Views: 40514
Re: The comp.sys.sinclair Crap Games Competition 2021: 25th edition extravaganza!
Hi, Here is another variant of the previous recursive screen saver, which draws 'neurones' : RUN or ESCape. The counter is to keep account of recursion, too much and the interpreter would fatally crash ! I hope a 128ko QL will have enough memory : Ok on SGC ! Regards, Steve. neurones_bas.zip