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.022s
<1234567…34>
  • 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…

    ... 'while'), but here's a way of using a FOR/NEXT loop ... like a 'while' loop in BASIC:
    [code]
    1 REM While loop example ... a FOR/NEXT loop like a C-style 'while' loop. Waits for e ... a GO TO statement in BASIC :-)

    Regards,

    Shaun.Bebbington Shaun.Bebbington March 2013 Sinclair Basic
  • Basic and AY musicis it possible to play an ay-music in background while a basic program is running?

    is it possible to play an ay-music in background while a basic program is running?
    Arda Arda January 2003 Sinclair Basic
  • Maybe you can help meybe you cantI am trying to programatically in Java convert a Java For loop to a VB one. I am building a translator automatically translate between Java to Visu…

    ... Java convert a Java For loop to a VB one.
    Basic.


    Take the following Java loop for ...
    Scottie_uk Scottie_uk September 2007 Chit chat
  • A fast DRAW routineI was investigating how to speed up the line drawing for the [URL="http://www.worldofspectrum.org/forums/showthread.php?t=20225"]BASIC compiler[/URL]…

    ... /forums/showthread.php?t=20225"]BASIC compiler[/URL], and finally end ...

    __DRAW3: ; While c != e => while y != y2
    exx ... /> jp __DRAW6_LOOP

    __DRAW5: ; While loop
    exx
    add hl ...
    boriel boriel December 2010 Development
  • Switching 48/128 modes within a BASIC programI'm not sure what use this would be; ie. being able to switch between 48k and 128k modes and back again from within a continuously running BASIC prog…

    ... from within a continuously running BASIC program, but as it's ... from 128k to 48k modes while the BASIC program continues to run ...
    Battle Bunny Battle Bunny July 2012 Sinclair Basic
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... happens to be where the basic system stores the location ... set. On returning to basic all printed text would look ... />
    We first enter a "while" loop. While loops continue to run a ... to", equivalent to "" in Basic. Other common C comparison operators ...
    Alcoholics Anonymous Alcoholics Anonymous June 2007 Development
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... as in PRINT AT in basic), print centered text on a ... screen just before returning to basic. If you run the ... [/code]

    The main while() loop repeats until all lines contained ... just interpretted. The surrounding while loop is executed again to see ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 Development
  • for (;;) { }What does that piece of code do in C? Well I am familiar with something like for (i=0; i<100; i++) { } but I haven't understood what happens if you l…

    ... so, branch out.
    /* while loop */
    JMP while
    out: /* rest of ... , unless I've missed something basic. It's quite early.
    basic. It would be better to ...
    wilsonsamm wilsonsamm June 2010 Chit chat
  • 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…

    ... 'while'), but here's a way of using a FOR/NEXT loop ... like a 'while' loop in BASIC:
    [code]
    1 REM While loop example ... a FOR/NEXT loop like a C-style 'while' loop. Waits for e ... a GO TO statement in BASIC :-)

    Regards,

    Rebelstar without a cause Rebelstar without a cause March 2013 Sinclair Basic
  • Static vs stacked local variables in z88dkHello everyone. I'm doing a program for Spectrum 48KB with z88dk v1.8 (XX Mar 2008), and I eventually discovered that if your local variables in fun…

    ... the ULA's hands, while the stack is below this ... a decreasing counter in a 'while' loop, the loop never ends:
    < ... />
    i = 10;
    while (i--)
    {
    /* Do something ... local variable bug in 'while' loops is effectively a ...
    Ricardo Cancho Ricardo Cancho April 2010 Development
  • whats your second favourite retro computerOk i'm going to assume that for most of us here the speccy is our favourite number 1 retro computer,its the best home computer in the world etc etc :…

    ... what was learnt in BASIC. Commodore BASIC sucks, but at the ... Witness the transition from BASIC to C! BASIC does things at a ... the conceptions you held while programming BASIC will hinder you in ... sort of direct translation between BASIC and machine code! This ...
    monty.mole monty.mole February 2004 Games
  • screen$I'm wanting to create a game which is written mostly is Basic, due to lack of MC skills but i need a MC routine if someone would kindly supply it I…

    ... space in memory for the BASIC program and system variables. As ... use for your own data while keeping BASIC intact, and that's ... only with a really small BASIC program.

    Secondly, given ...
    gasman gasman August 2005 Development
  • Timex Sinclair 2068Hi guys. This is my first post here, the first of many, I hope.. :) I have a Timex Sinclair 2068 but don?t know much about it. It was given as a gif…

    ... even accept the few extra basic commands the ts2068 offers. ... 175 has information about the basic STICK command. This command ... For music and sound effects, Basic does offer the SOUND command ... that will play music while your basic program runs. This program ...
    Alcoholics Anonymous Alcoholics Anonymous November 2006 Games
  • Timex Sinclair 2068Hi guys. This is my first post here, the first of many, I hope.. :) I have a Timex Sinclair 2068 but don?t know much about it. It was given as a gif…

    ... , program will not run while cpu is playing tunes, ... each. But from C, not basic :-)

    [quote]
    basic game I would forget ... do that for you while your basic program is running ... ""CODE it when the basic program starts and then ...
    Alcoholics Anonymous Alcoholics Anonymous November 2006 Games
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... the scrolly carries on running while in basic - too pretty !

    wokani wokani July 2007 Development
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... br /> } // end of mountain for loop

    ...
    [/ ... i; --i)
    {
    while ((p = g_land + u_rnd(45))-> ... ]

    The for loop causes four crystite deposits to ... "p" in the while loop. The while loop ensures that we don ...
    Alcoholics Anonymous Alcoholics Anonymous August 2007 Development
  • Maybe you can help meybe you cantI am trying to programatically in Java convert a Java For loop to a VB one. I am building a translator automatically translate between Java to Visu…

    ... amount each time, a For loop would be good enough. But ... you have to use a While loop.

    You could convert ... to consider for every For loop.

    When I was ... be converted into the equivalent While loops before I could translate ...
    monty.mole monty.mole September 2007 Chit chat
  • Maybe you can help meybe you cantI am trying to programatically in Java convert a Java For loop to a VB one. I am building a translator automatically translate between Java to Visu…

    [QUOTE=Scottie_uk;216360]
    So my dilemma is how to represent the Java For loop in VB. Should I convert it to a While loop with an assignment performing increment i.e.

    [code]
    While x
    gasman gasman September 2007 Chit chat
  • Maybe you can help meybe you cantI am trying to programatically in Java convert a Java For loop to a VB one. I am building a translator automatically translate between Java to Visu…

    ... translation of the Java For loop to me. Yes, the body ... of the loop could tinker with the value ... involved in a For or While loop.[/QUOTE]

    Very true ...
    Scottie_uk Scottie_uk September 2007 Chit chat
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... =0. The do-while loop operates for each of ... char. The while condition ensures the loop runs 8 ... 0x0100; // next scanline
    } while (disp & 0x0700); // do ... drawn. The do-while loop runs 8 times, ...
    Alcoholics Anonymous Alcoholics Anonymous October 2007 Development
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... i]) >= 0; ++i) ;
    } while (!((roundEventsFunc[i-1])(1))); // choose ... time there's a "do-while" loop that keeps on going until ... in that case the "do-while" loop will repeat in order to ... they were in the do-while loop above) the events function does ...
    Alcoholics Anonymous Alcoholics Anonymous October 2007 Development
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... position

    } while ((g_sortedPlayers[0]->sprite-> ... counter intiialized, the "do-while" loop is entered, which manages the ... iteration of the do-while loop for things to work ... the parade loop in the "while" part of the "do-while" is ...
    Alcoholics Anonymous Alcoholics Anonymous April 2008 Development
  • "The Earth is flat, and horizontally infinite..."Erm, loony tunes time: [URL]http://news.bbc.co.uk/1/hi/magazine/7540427.stm[/URL] and people like that are allowed to vote and drive cars...

    ... Java program in a tight while loop that counts to 1 million ...
    Scottie_uk Scottie_uk November 2008 Chit chat
  • Rainbow Generator for 48K Spectrum using PUSHThis is what I came up with from [B]gasman[/B]'s suggestions. It's stable in ZXSpin and ZX32 simulating a 48K Speccy. Anyone like to try it on the …

    [QUOTE=ZnorXman;353598] and when I scroll the window [up/down] on this LCD screen I believe I'm emulating the "effect" nearly 100%[/QUOTE]

    no, there are no flicker in the real thing. ;) just plain, clean stripes while using basic.
    Arda Arda May 2009 Development
  • Rainbow Generator for 48K Spectrum using PUSHThis is what I came up with from [B]gasman[/B]'s suggestions. It's stable in ZXSpin and ZX32 simulating a 48K Speccy. Anyone like to try it on the …

    [QUOTE=Arda;353603]no, there are no flicker in the real thing. ;) just plain, clean stripes while using basic.[/QUOTE]

    I'd like to see you manipulate embedded colour commands in a BASIC line with that running.

    D.
    Dunny Dunny May 2009 Development
  • The Hisoft BASIC v1.2 Plus 3I am trying to compile a basic program with the [B]Hisoft BASIC v1.2 Plus 3[/B]. When i read the instructions to prepare the program to be compiled b…

    ...

    Spectrum BASIC User Manual Page 3
    BASIC (called compiler directives) ...
    During compilation, HiSoft BASIC will pause twice, showing some ... compiled code. But while HiSoft BASIC is resident there's ...
    arfgh arfgh June 2010 Sinclair Basic
  • for (;;) { }What does that piece of code do in C? Well I am familiar with something like for (i=0; i<100; i++) { } but I haven't understood what happens if you l…

    ... to the bounds of the while loop. Whilst any variable declared in ... the bounds of the for loop and any line that follows ...
    Scottie_uk Scottie_uk June 2010 Chit chat
  • SpecOS progressOk, As you can all see, I'm back - and I've been working away on SpecOS for a while now. There's a few videos, which you can see on my blog: [url]h…

    ... separate lines.
    DO WHILE ... LOOP - Loops through the enclosed lines ... TRUE (>0). A WHILE loop may happen many times, or ... none.
    DO ... LOOP UNTIL Unlike WHILE, UNTIL loops at least ... once through the loop, and ...
    Dunny Dunny September 2010 Sinclair Miscellaneous
  • Spectrum 128K RS232 to PC serial cableIf you have read some of my recent posts then you will know that I am eager to link my Spectrum +3 to a PC. This will be done by wiring a standard PC…

    ... your posts on the subject while I was looking to see ... the bulk of this project while you were on your vacation ... of the Spectrum memory map while keeping BASIC alive. I also needed ... memory.
    Quit back to BASIC providing you have not run ...
    ASM ASM November 2010 Hardware
  • Recursive 4-way floodfillHi guys) Shortly, I wanna find out whether there's a way to some object. Perhaps some of you have already encountered such an issue which is relativ…

    ... the mem (not iterations) used while running? I mean I only ... area, in a separate window while the BASIC runs.
    Geoff Geoff January 2011 Sinclair Basic
<1234567…34>

Latest Posts

  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Fixed Speccy Software. And which games remained unfixed?
    John Elliott on April 21
  • Happy 40th Birthday to the Amstrad CPC464!
    rich_chandler on April 21
  • Another Birthday! The Game Boy Is 35!
    mel the bell on April 21
  • European Software Titles with an English version
    harriusherbartio on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21
  • 1992 Spectrum Software
    harriusherbartio on April 21
  • +3 Disk drive motor
    AndyC on April 21
  • Celebrity deaths...
    mel the bell on April 20

HitBox

Word Docs Hits
while 33.7K 37.3K
loop 4.8K 8.5K
basic 24.7K 39K

Related Threads

  • Switch from 128k BASIC to 48k BasicHello,<br /> <br /> Is there a way to start off running a program in 128k basic (so that you can use the ramdisk facilities) but then switch back dow…
  • (Basic) Sinclair BASIC mode for EmacsI saw this [URL=http://www.worldofspectrum.org/forums/showthread.php?t=14622]post[/URL] regarding a Sinclair BASIC editing mode along with some Fuse …
  • Help with Visual Basic 6.0 vs Visual Basic.netI have a program that auto generates VB.Net code..... I know VB.net syntax and am happy with the code generated.<br /> <br /> However, I have been as…
  • What did Spectrum BASIC lack (and was BBC BASIC so good?)Over the years, I've read in various multi-format magazines, that BBC BASIC was probably the best BASIC available on an 8-bit machine. I've never use…
  • 48K BASIC to ZX81 BASIC conversion possible?Looking for an automated way of converting a BASIC program done on a<br /> 48K Spectrum to one for the ZX81. It's obvious that some things cannot<br …
  • ZX Basic 1.2.5 - a BASIC CompilerWell, my old post about ZX BASIC seems to be gone (maybe this phorum purges old threads?), so I started a new one.<br /> <br /> After more than 6 mon…
  • Basic BASIC help needed RNDHi all,<br /> <br /> I have recently re-discovered an old program I wrote in the early 90s which would do generate random lottery numbers.<br /> <br …
  • Star BASIC or *BASIC??? Anyone heard of this?Does anyone remember a thing called Star Basic or *basic?<br /> <br /> It was a tape that extended the BASIC instruction set and from memory you put …
  • Loading basic from basic?Hi Guys,<br /> <br /> Could you please help me. I want to create a menu on my plus 3 disks. If I use the line below I just get "c nonsense in basic…
  • Couple of basic BASIC questionsPlaying around with BASin again in an effort to knock up a game and am wondering 2 things<br /> <br /> 1) Why when I run the program do my UDGs not a…

Related Searches

  • rst8 return to basic
  • rst8 basic
  • return to basic
  • basic tips tricks
  • best basic manual
  • writing music in basic
  • play in basic
  • play command in basic
  • basic upper lower case
  • basic toupper tolower
  • basic lcase ucase
  • basic change upper lower case
  • basic
  • basic flicker
  • flicker basic
  • two charcters basic
  • basic sprites
  • large basic after running for a while messes up
  • basic while
  • basic while wend

Copyright © 2024 World of Spectrum