World of Spectrum
  • Categories
  • Discussions
  • FAQ
  • Sign In
Home › Search
Title Search
@title beer Word 'beer' in title
User Search
  • @user admin Only posts by Admin
Text Search
  • @body beer Word 'beer' in the text
Phrase Search
"Hello World" Exact phrase match
Exclude Terms
  • car -red Search cars that are not red
"Or" Searches
  • honda | bmw 'honda' or 'bmw' results
Multi-Field
@(title,body) hello Both contain 'hello'
WildCard
  • hond* civ* Match all with an astrix
Combination
  • @title bmw @user admin
See more supported syntax examples
Search Again :: Adv Search 1000 results in 0.089s
<1234567…34>
  • “Incorrectly” nested FOR NEXT loopsWay back when I was young, and I was experimenting with BASIC programming, I had to try some of the things that you are not supposed to do. This incl…

    ... do. This included mis-using FOR NEXT loops including the kind of thing ... shown below:
    [code]10 FOR A=1 TO 3
    20 FOR B=1 TO 3
    40 NEXT A
    50 NEXT B
    [/code ...
    1024MAK 1024MAK July 2020 Sinclair Basic
  • Using FOR/NEXT like 'while'I don't know if this has already been discussed (I did search, but the search engine didn't like the word 'while'), but here's a way of using a FOR/N…

    ... a way of using a FOR/NEXT loop like a 'while' loop ... an example of using a FOR/NEXT loop like a C-style ... 'while' loop. Waits for e or E to exit ... TO 9: NEXT d: NEXT i
    [/code]
    The FOR d loop ... ").

    I use while loops quite a lot in PHP ...
    Shaun.Bebbington Shaun.Bebbington March 2013 Sinclair Basic
  • DIM and FOR, NEXT loopHi there. I'm making a program with 100 items on screen using dim and a for next loop. The thing is, each time I want to manipulate the items I do an…

    ... screen using dim and a for next loop. The thing is, each ... the items I do another for next loop which is slow(even ... my program

    210 for g=1 to 50: if ... )=0
    215 next g

    320 for g=1 to ... );ink 5;"1"
    325 next

    there are ...
    davepierce07 davepierce07 May 2014 Sinclair Basic
  • z80 Helper?When you are programming with z80 do you get 'lost' you are in the middle of making a routine and you can't remember which registers are holding val…

    ... what you need to use next at some point in your ... is done rarely or outside loops it may be acceptable. If ... /> all three would be needed for 3 nested loops for example
    but there ... granularity called overlays. You can, for example, write a game logically ...
    Alcoholics Anonymous Alcoholics Anonymous April 2017 Development
  • Help with custom loader neededAs people here became active recently about MakeTzx and tzx format in general, I have thought that I would post it here. I have some .wav recordings…

    ... the same polarity might come next. Sure, sometimes the first ... Andrew Barker;528480]Now the next turbo data block was inserted ... basic block, and around 20ms for each turbo block.[/QUOTE]
    FOR/NEXT TZX loops as that's fairly ...
    Patrik Rak Patrik Rak April 2011 Emulators
  • Help with custom loader neededAs people here became active recently about MakeTzx and tzx format in general, I have thought that I would post it here. I have some .wav recordings…

    ... the same polarity might come next. Sure, sometimes the first pulse ... of the data is finished. For example, the ROM routine uses ... of it may be used for automated process, some steps involve ... take the approach of generalized FOR/NEXT TZX loops as that's fairly ...
    Andrew Barker Andrew Barker April 2011 Emulators
  • z80 Helper?When you are programming with z80 do you get 'lost' you are in the middle of making a routine and you can't remember which registers are holding val…

    ... Does anyone have a procedure for storing a temporary variable? one ... all three would be needed for 3 nested loops for example
    but there ... it is pointless to optimise for RAM because that would make ... the same memory address for two different temp storage ...
    slenkar slenkar April 2017 Development
  • "TommyGun" gets a complete MAKEOVER for next release ...From the author, Tony Thompson ... """""""""""""""""""""""""" [B][I] I hadn't worked on the TommyGun editor for while. But when I got sick (about …

    ... ones could be mosiac, AutoMasking (for sprites etc) and color replacement ... The plugin system I wrote for work, also supports Microsoft Visual ... when I put out the next version of TommyGun. I wrote ... Delphi experience to write plugins for TommyGun.

    I ...
    Sadako Sadako April 2004 Development
  • Suggestions for next phase of Full-Price World Cup?By 6:25pm on Saturday 28th the voting closes for the 8 initial group stages of the Full-Price World Cup. The next part will consist of 4 groups of 4…

    ... Saturday 28th the voting closes for the 8 initial group stages ... World Cup.

    The next part will consist of 4 ... ]1.[/B] Should the votes for this stage continue to be ... length of time to vote for the next stage should be less ...
    Mousey Mousey August 2010 Games
  • BASin gets its (profile) sums wrong (sometimes)I often use BASin to time pieces of code, and I've found it to be useful, but I was testing a routine earlier, which took less than 2 seconds to run …

    ... .
    [code]
    100 FOR R=0 TO 20
    101 FOR N=1 TO 32: PRINT ... ;r
    200 NEXT n
    201 NEXT r
    [/code ... time being assigned to the "NEXT n" statement. I couldn't ... doesn't calculate the timings for nested FOR...NEXT loops very well.
    Battle Bunny Battle Bunny September 2012 Emulators
  • TAPlist - the emulator versionI've got this working reasonably well; there's just a couple of small extra features which I want to add. (Recall that TAPlist writes a formatted lis…

    ... 6kb buffer. Whenever the next text fragment would overflow the ... at the start of the next line.
    [*]As ... [*]Uses TXT2Emu {..} hex encodings for graphic & non-printing characters ... a big series of nested FOR...NEXT loops which illustrate the indentation.
    Battle Bunny Battle Bunny March 2014 Sinclair Basic
  • cant format answereHi all, I am writing a short basic program that will convert a frequency to a length. 10 print "Spectrum antenna length conversion." 20 let w = 468 …

    ... due to its own imprecision. For example, with f=5 the ... . This entails messing about with FOR...NEXT loops and IFs; which is why ... mind-bogglingly complicated series of nested DEF FN statements ...
    Battle Bunny Battle Bunny July 2007 Sinclair Basic
  • Programming Books for Kids - Whats happened to programming?What has happened to Programming in the 00's :( I remember at the tender age of 9 exitedly going to my library to get one of them colourfull program…

    ... 'm working with say nested loops I am able to ... wrong :) But it is odd that I use the ... a better routing for the buildings plumbing (odd thing badly routed ... solved as well, ditto odd numbers of bricks unless nice ... round odd numbers like 5 or ...
    sparkes sparkes October 2008 Sinclair Miscellaneous
  • Programming Books for Kids - Whats happened to programming?What has happened to Programming in the 00's :( I remember at the tender age of 9 exitedly going to my library to get one of them colourfull program…

    [QUOTE=Winston;311659]2. For loops counting in increments of two.[/ ... for/next loop, and use the logical operator AND to perform the odd ... /even filtering:

    [code]1 FOR f=1 ... TO 100: PRINT ("Odd: " AND (f/2 ...
    TriadDevelopments TriadDevelopments November 2008 Sinclair Miscellaneous
  • How do you start?ok just humour me, ive always wanted to code but never got round to it apart from the real basics ie:- 10 print "hello" 20 print 30 goto 10 i coul…

    ... recognizing some obvious patterns like for instance, BASIC programs use ... certain things repeatedly you use FOR-NEXT loops. Etc etc. The more ... feel confident about using them next time!

    One ... can print both even or odd numbers depending on what ...
    Arjun Arjun January 2010 Development
  • FOR 1 TO 0 - Execute "no times"?I checked a couple of basic variations, and generally a for loop executes at least once, even if you create a negative loop without step -1. But in s…

    Sinclair Basic is "odd" in that most Basics will execute FOR/NEXT loops at least once, checking the termination condition at the NEXT, but Sinclair Basic checks the termination condition at the FOR and has the possibility of executing zero times.
    Jonathan Harston Jonathan Harston July 2012 Sinclair Basic
  • Experimenting with turboloadersHello, My first post, having lurked here for a while. I'm a lifelong computer nerd, Spectrum fan since childhood in the eighties, and have recently…

    ... /> .detect_pilot_pulse_cp:
    ;; compare against min loops for a pilot pulse, adjusting
    odd or even number of pilot ... ; store this single edge counter for next time
    jr nc,.detect_sync_loop ...
    stephenw32768 stephenw32768 August 2013 Development
  • ZX81 Character SetHello, hope I don't offend anyone with my request. I've put together a program on my Amstrad that redefines a condensed text and displays it appropri…

    ... /> The ZX81 (or the Spectrum for that matter) doesn't have ... a Graphics card was available for it, so can only ... the next position. I don't know how ZX81 handles Nested Loops though ... , it's fairly straightforward stuff for it to ...
    CP/M User CP/M User December 2015 Sinclair Miscellaneous
  • ZX81 Character SetHello, hope I don't offend anyone with my request. I've put together a program on my Amstrad that redefines a condensed text and displays it appropri…

    ... the next position. I don't know how ZX81 handles Nested Loops ... though, it's fairly straightforward stuff for it ... to extract individual bytes. For example a 4x6 character definition ... pixel as a number, for even a simple 64 character ...
    GReW GReW December 2015 Sinclair Miscellaneous
  • Bored of the Rings coded messageI was browsing [url="https://tcrf.net/"]The Cutting Room Floor[/url] recently and stumbled upon the entry for [url="https://tcrf.net/Bored_of_the_Rin…

    ... /> The program uses only two FOR loops, to select word & character ... also need a series of nested loops, so that each character value ... hard code a set of FOR loops to handle the longest word ... of base displacement.
    REM For extra words, add DATA on ...
    Battle Bunny Battle Bunny May 2016 Games
  • ZX Spectrum Z80 Development Environment on WindowsHi Folks, Just wondering what the recommendation is for a ZX Spectrum Z80 Development environment on Windows? Getting fed up with hand coding Z80…

    ... br /> [*] for/next, repeat/until, while/wend [b]loops[/b] (at ... local labels
    [*] Nested [b]anonymous procs[/b] with ... instances of loops
    [*] Compatibility features for assembling [b ... ] (multiple machines, exsDOS, Next support) and [b]jsspeccy ...
    colonel32 colonel32 August 2017 Development
  • What to write / programme?I've been trying to get back some motivation to write something in machine code for the Spectrum. I don't feel I am organised enough to write somethi…

    ... with a checkerboard background - as for a desktop wallpaper.

    nested loops. The innermost fills across a ... to the display file. The next loop (four iterations) repeats these ... loop counts down and repeats for each third of the ...
    dmsmith dmsmith April 2020 Development
  • Sinclair Answers Issue 1 up for grabs Scanned in Issue 1 of Sinclair Answers and have just uploaded it to the site. Anyone who wants the issue I have stuck it on ebay at 99p starting fo…

    Scanned in Issue 1 of Sinclair Answers and have just uploaded it to the site. Anyone who wants the issue I have stuck it on ebay at 99p starting for next Sunday.

    Good condition and one careful scanner!
    Mort! Mort! June 2005 Sales
  • ZX Adventure Club - next month's gameHello, all I hope you are all managing in the lands of [I]Monster[/I] and managing not to get killed too often or too confused by the stone with the…

    ... I mentioned the playing-period for [I]Monster[/I] ends on ... start playing a new game for either two weeks or the ... a particular company or owt for next month so I am opening ... lot. Vote for any game you want to play next month here ...
    Zagreb Zagreb September 2005 Games
  • Retroeuskal: Looking for a Spectrum introHi. I don't know if anyone knows Euskal encounter, a party celebrated in Bilbao (Spain). Last year we were 3.000 attendants, and this year, the orga…

    ... of new hardware and software for retro-machines,...

    for all attendants. :)

    In the next edition ( ... speccy. We are looking for people who would like to ... good beginning for this project and an incentive for next editions.
    zyloj zyloj April 2006 Development
  • Painful for Italian Football[url]http://news.bbc.co.uk/sport1/hi/football/europe/5164194.stm[/url] Three teams relegated but two with severe points dockings for next season.(Ch…

    ... two with severe points dockings for next season.(Champions Juventus at ... from playing in European competitions for next season.

    ... Inter and Roma, in next years Champions League and the ... br /> Not a good advert for the newly crowned World Champions ...
    Vampyre Vampyre July 2006 Chit chat
  • Tutorial - learn machine code in 30mins[B][I]Message from the moderators[/I] - bigjon has requested that readers' attention be drawn to a better version of this tutorial, one which is easi…

    ... left hand verge on the next line, we need to ... ;point to left verge on next line'
    Insert line ... code's equivalent of a FOR-NEXT loop, djnz.
    djnz ... .
    If it is odd, lower the road position in ... /> (To test the last bit for odd and even we use 'and ...
    bigjon bigjon November 2009 Development
  • The Spectrum screenshot odd-one-out round - easy skill levelYou know how in the (British) program "Have I Got News For You" they have an odd-one-out round, where they show you four photographs, and you (well…

    ... Got News For You" they have an odd-one-out ... is the odd one out, and why?

    For example, ... we were fighting for. And the odd one out was ... a Spectrum version? Here, for your delectation are some ... game is the odd one out, and why. For example:
    ...
    ewgf ewgf June 2010 Chit chat
  • Asking for help: ZXBC to ASM routine translationHallo, In order to save some bytes and gain speed, I'm asking for translation of a very simple ZXBC routine to Assembler [code] sub light(x as uinteg…

    Hallo,
    In order to save some bytes and gain speed, I'm asking for translation of a very simple ZXBC routine to Assembler
    [code]
    sub light(x as uinteger,y as uinteger,intensity as ubyte)
    dim adr as Uinteger
    if x
    LCD LCD November 2012 Development
  • Self modifying code ??I made a game in C that was mostly accessing arrays and using FOR NEXT loops, I ran out of memory, so I was thinking would it be possible to use sel…

    ... mostly accessing arrays and using FOR NEXT loops,
    I ran out of ... code so that say 20 FOR NEXT loops use the same code?
    loops and arrays every time they ...
    slenkar slenkar December 2013 Development
<1234567…34>

Latest Posts

  • i am currently listening to........
    zx1 on 11:27PM
  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on 11:15PM
  • Celebrity deaths...
    mel the bell on 6:31PM
  • Cooperative Games.
    Paradigm Shifter on 3:39PM
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on 3:29PM
  • European Software Titles with an English version
    harriusherbartio on 3:27PM
  • How we became brainwashed by social media
    Antiriad2097 on 1:51PM
  • How Do You Categorize Your Speccy Software and Games?
    Antiriad2097 on 1:45PM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 1:11PM
  • I am currently watching.....
    zx1 on April 15

HitBox

Word Docs Hits
for 352.6K 637.2K
next 36.1K 45.7K
nested 172 204
loops 1.1K 1.3K
strange 7.3K 7.7K
odd 8.6K 9.3K

Related Threads

  • “Incorrectly” nested FOR NEXT loopsWay back when I was young, and I was experimenting with BASIC programming, I had to try some of the things that you are not supposed to do. This incl…
  • Corona Encantada for MSX and Invasion of the Zombie Monsters for CPC, from RELEVO, for saleWe have a remaining of the stock of games we offered in the crowfunding of the book "Enciclopedia Homebrew". They are Corona Encantad for MSX in cart…
  • HDFMGooey - frontend for setting up the HDF for the ZX Spectrum Next EmulatorWrote this a few weeks back but didn't post here.<br /> <br /> hdfmgooey v1.2 - David Saphier / em00k 2019<br /> ---------------------------------…
  • Looking for the game Rex for spectrumHello,<br /> I am looking for the game Rex(I think there are two parts 1&amp;2) by Martech.
  • Heres one for you tooo make some money :) For MIA`sYou have a massive archive "INFOSEEK", but i know you dont allow offsite looking at this source of info.<br /> <br /> But if you produced a CD with t…
  • ANNOUNCE: Speccy-Player (AY file player for a Real Spectrum) version 0.1 available for downloadI finally managed to get my AY file player for Real Spectrum 128 (working title "Speccy-Player") into a suitable state to unleash it on the unsuspect…
  • Spectaculator - any hope for support for CTRL ?When running CP/M for +3, the CONTROL key is SSHIFT+CAPSS (i.e. EXTENDED).<br /> 1. It would be fine to emulate this to the PC's CTRL key. At present…
  • Anyone want to swap all my tapes, for all systems, for game carts?I live in terrace house, not much bigger than the ones on Coronation Street. I don't have a whole lot of spare room left, and my wife, bless her, obj…
  • "TommyGun" gets a complete MAKEOVER for next release ...From the author, Tony Thompson ...<br /> <br /> """"""""""""""""""""""""""<br /> <br /> [B][I]<br /> <br /> I hadn't worked on the TommyGun editor fo…
  • Recommend a 48k music program for me, or teach me how to search for them in infoseek. ThxThe only 48k music tracker I happen to know is Wham!<br /> <br /> Which ones do you like?<br /> <br /> Can anybody point me to some old threads on th…

Related Searches

  • lowest memory for code
  • lowest memory position for machine code
  • searching looking for love
  • up for grabs
  • how to download games for vega
  • how do i download games for vega
  • wait for refresh
  • new loading screen for game over
  • how long do beards itch for
  • best place for interrupt routine
  • best place for interrupt table
  • for without next
  • next without for
  • for a 1 to let condition next
  • what next for world os spectrum
  • what next for world spectrum
  • for next nested loops
  • for next nested
  • for next
  • for next strange

Copyright © 2024 World of Spectrum