-
Help with random numbers......Hi all, wonder if anyone can help me... sort of a novice here ... I have been trying to write a simple ish basic program to compare random sets of n…
Alternatively, here's an example of using a recursive function to do the duplicate number check, avoiding any extra use of GO TO, FOR...NEXT or IF...THEN. Line 80 does the looping within itself via the FN call.
[code]
2 DEF FN a()=FN ... -
RFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…
... =32 TO 127: PRINT #4;CHR$ f;: NEXT f
[/CODE ... -
RFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…
... =32 TO 255: PRINT #4;CHR$ f;: NEXT f
[/CODE ... -
RFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…
... =32 TO 127: PRINT #4;CHR$ g;: NEXT g: NEXT f ... -
Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …
Hi Folks,
Well I have almost finished my Model Railway Timetable program and thoughts are starting to move on to project #2. A requirement is likely to be a full screen input routine and to this end I have rewritten my XINPUT code from a few ... -
Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …
... as the ROM still inserts chr$ 14 and five zeros after ... -
Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …
... as the ROM still inserts chr$ 14 and five zeros after ... -
Sinclair Programs uploaded.I've just uploaded a ZIP containing all the 'Sinclair Programs' programs and the instructions for each one. (Well all the ones from 'The Type Fantast…
... - Sep'84
Hunt Saboteur - Nathan Roche - Jul'84
Ice ... -
Official CSSCGC 2011 Competition ThreadHello fellas. The site is up and running. We are already accepting submissions. [url]http://www.mojontwins.com/csscgc2011/[/url] Rules, info, and e…
... days ago, it looks like nathan is not in a hurry ... -
Official CSSCGC 2011 Competition ThreadHello fellas. The site is up and running. We are already accepting submissions. [url]http://www.mojontwins.com/csscgc2011/[/url] Rules, info, and e…
... days ago, it looks like nathan is not in a hurry ... -
File size in 128K RAM diskHi Folks, Is there a way to get the size of a file stored in the 128K RAM disk from within a BASIC program? Many thanks Paddy
File size in 128K RAM diskHi Folks, Is there a way to get the size of a file stored in the 128K RAM disk from within a BASIC program? Many thanks Paddy
File size in 128K RAM diskHi Folks, Is there a way to get the size of a file stored in the 128K RAM disk from within a BASIC program? Many thanks Paddy
File size in 128K RAM diskHi Folks, Is there a way to get the size of a file stored in the 128K RAM disk from within a BASIC program? Many thanks Paddy
... TO 23408
150 PRINT CHR$ PEEK a;
160 NEXT ...checking bits in BASICThe question of manipulating bit patterns in BASIC was raised recently in this [thread=35728]Keys redefine routine and key check[/thread] thread. I s…
... $-1: DEF FN c()=INKEY$=CHR$ 13
9991 FOR ... ),;:
LET a$(FN l())=CHR$ FN h(a$(FN l ...JHCon Basic GOTO-less CompoHi there, I've just announced a ZX Spectrum 16/48K Basic compo for JH-Con party in December, with some rules. For details and rules, please visit my …
... color and perhaps a premature CHR$13.[/QUOTE]
The ...New Tool: CheqEdit[b]CheqEdit[/b] it's a simple and small program that helps you to draw 64x48 graphics on screen in GRAPHICS MODE. Program can output as text in CHR$ …
... CHR$ 142;" ";" ";" ";" ";" ";" ";" ";" ";" ";CHR$ 132;CHR$ 143;CHR$ 143;CHR$ 143;CHR$ 143;CHR$ 139;" ";" ";" ";CHR$ 132;CHR$ 141;CHR$ 143;CHR ... $ 143;CHR ...saving part of a BASIC programHere's a short routine to save part of a BASIC program. The idea is that it can be merged into a program and then used to save sub-routines, etc. to …
... =av-ap: LET l$=CHR$ FN g(l)+CHR$ FN h(l ... $=f$+l$+CHR$ k0+CHR$ VAL "128"+(l$ AND apv)+((CHR$ k0+CHR$ k0 ...3 lines of funHello! I'm looking for a tattoo to remember forever our fabulous 8 bit era. A part the pictures I posted here [url]http://www.worldofspectrum.org/for…
... QPJIAAAAMCHR$ (63+CODE (g$(x)));: BORDER RND*7: NEXT x< ...3 lines of funHello! I'm looking for a tattoo to remember forever our fabulous 8 bit era. A part the pictures I posted here [url]http://www.worldofspectrum.org/for…
... QPJIAAAAMCHR$ (63+CODE (g$(x)));: BORDER RND*7: NEXT x< ...3 lines of funHello! I'm looking for a tattoo to remember forever our fabulous 8 bit era. A part the pictures I posted here [url]http://www.worldofspectrum.org/for…
... IPFEQJABPFJMLIGCHR$ (63+CODE (g$(x)));: NEXT x
9930 ...
