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.074s
<1…16171819202122…34>
  • Problem with loopingHi all, I'm looking for a way to code a loop into my program and then allow the computer to come out of that loop by itself. Is such a thing possibl…

    ... I have to use the "INKEY$" command, but I have no ... )
    25 LET k=CODE INKEY$: IF k0 THEN GOTO 50
    jp jp August 2009 Sinclair Basic
  • Problem with loopingHi all, I'm looking for a way to code a loop into my program and then allow the computer to come out of that loop by itself. Is such a thing possibl…

    ... )
    25 LET k=CODE INKEY$: IF k0 THEN GOTO 50
    GreenCard GreenCard August 2009 Sinclair Basic
  • Problem with loopingHi all, I'm looking for a way to code a loop into my program and then allow the computer to come out of that loop by itself. Is such a thing possibl…

    ... ]
    10 PRINT ".";
    20 IF RND < 0.01 THEN ... /> [*] A keypress (as per example INKEY$ example above)
    [*] A variable ...
    BloodBaz BloodBaz August 2009 Sinclair Basic
  • Print at 128,87? :)The advanced search function didn't help me find the answer to this, and I don't remember seeing anything similar in magazines or books... so please …

    ... with IN movement instead of INKEY$ and pixel movement instead of ... the second as the vertical. If not I would like to ...
    zxbruno zxbruno January 2010 Sinclair Miscellaneous
  • Im making my first spectrum gameHi everyone, I am making my first game on the speccy :-P I started yesterday and I had designed it on paper first (more like a book of ideas). Its a…

    ... or No? "; a$
    9020 IF a$(1) = "y" OR a ... /> EDIT2: Or you could use INKEY$
    Paradigm Shifter Paradigm Shifter February 2010 New game ideas
  • J Invalid I/O devide, why ?Just tinkering with the asm code i got this error when executed the C/M: J Invalid I/O devide the liune that caused this is 'Call 15DE' that calls t…

    ... stream? If you're doing the equivalent of k$=INKEY$#2 without ...
    Jonathan Harston Jonathan Harston June 2010 Sinclair Basic
  • BASin and INKEY$Hi Folks, Recently started using BASin after many years away from the Spectrum. Totally amazing piece of software and fun to use. I have noticed s…

    ... there was something wrong with inkey$ (in the older v14 versions ... it was working correctly if you put "inkey" into a variable *sometimes ... *.

    5 LET k$=INKEY$
    10 LET k=CODE ...
    Arda Arda August 2010 Sinclair Basic
  • 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…

    ... GOSUB FOR NEXT RETURN STOP IF PLOT PAUSE DRAW


    RND, INKEY$, PI, CODE, LEN, SIN, COS ...
    Dunny Dunny August 2010 Sinclair Miscellaneous
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    ... y:
    NEXT x:
    IF 49=x=t(5) THEN ... /> INPUT ':
    LET b=CODE INKEY$-47:
    POKE (b8)*n ... y:
    NEXT x:
    IF 49=x=t(5) THEN ... /> INPUT ':
    LET k=CODE INKEY$-47:
    POKE (k8)*n ...
    Einar Saukas Einar Saukas September 2010 Development
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    ... like in Connect 4. However, if the column is already full ... pieces in-a-row), however if both players achieve it at ... p:
    LET b=CODE INKEY$-48:
    POKE (b4)*n ...
    Einar Saukas Einar Saukas September 2010 Development
  • Inkey problem||This is on a REAL speccy|| Hi everyone I have a function where the user presses a key and then it shows it on the screen. So this is what I do (no…

    ... key is pressed. If no key is pressed, then INKEY$ will give ... . a skipped line.

    If you want it to 'wait ... is happening, replace PRINT INKEY$ with PRINT CODE INKEY$

    Nx
    RST#08 RST#08 October 2010 Sinclair Basic
  • Inkey problem||This is on a REAL speccy|| Hi everyone I have a function where the user presses a key and then it shows it on the screen. So this is what I do (no…

    ... it reaches the call to INKEY$. The way around that is ... ]
    10 LET a$=INKEY$
    20 IF a$="" THEN GO TO ...
    gasman gasman October 2010 Sinclair Basic
  • General purpose full screen input routineHi Folks, One of the things that annoyed me back in the 1980s with most BASICs was the lack of a full screen "formatted" input function. You could …

    ... /> LET I(6)=CODE INKEY$:
    IF I(6)=0 THEN
    GO TO 9145
    9150 IF I(6)>31 AND ... : REM Invalid character
    9195 IF I(4)96 AND I ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... />
    10 LET A=CODE INKEY$: IF A = 0 THEN GO TO ... intrupt)
    jr z,readkey ; if no change, then read again ...
    Paddy Coleman Paddy Coleman November 2010 Development
  • Manipulating attributes...Hi Folks, I have written a routine that allows a blue bar to be scrolled up and down a list to select an item. Each item in the list occupies two l…

    ... /> 290 LET k=CODE INKEY$
    300 IF k10 AND k11 AND ... /> GO TO 280
    310 IF (k=10 AND y0)
    Paddy Coleman Paddy Coleman November 2010 Sinclair Basic
  • Manipulating attributes...Hi Folks, I have written a routine that allows a blue bar to be scrolled up and down a list to select an item. Each item in the list occupies two l…

    ... 0:
    LET k=CODE INKEY$:
    LET z=y+(2 ... k=10 AND y0):
    IF zy THEN POKE 23693,ar1 ... /> GO TO 200
    220 IF k13 THEN GO TO 210 ...
    Einar Saukas Einar Saukas November 2010 Sinclair Basic
  • Manipulating attributes...Hi Folks, I have written a routine that allows a blue bar to be scrolled up and down a list to select an item. Each item in the list occupies two l…

    ... /> 290 LET k=CODE INKEY$
    300 IF k10 AND k11 AND ... =10 AND y0)
    320 IF zy
    THEN
    POKE ... /> GO TO 230
    330 IF k13
    THEN
    GO ...
    Paddy Coleman Paddy Coleman November 2010 Sinclair Basic
  • Manipulating attributes...Hi Folks, I have written a routine that allows a blue bar to be scrolled up and down a list to select an item. Each item in the list occupies two l…

    ... /> LET b(4)=CODE INKEY$:
    IF b(4)10 AND b ... AND b(1)0):
    IF b(5)b(1)
    GO TO 210
    240 IF b(4)13
    THEN ...
    Paddy Coleman Paddy Coleman November 2010 Sinclair Basic
  • How to code a run and jumpHi all, Is there a way in basic to take action on two simultaneous key strokes. I want to add a run and jump i.e. keys Q and M but using inkey$ seem…

    ... Q and M but using inkey$ seems to limit me to ... using only the BASIC language if at all possible.

    Dr BEEP Dr BEEP January 2011 Development
  • Spanner seeks helpHello, and HNY, all. I am presently writing a game in BASIC. It's a bit - a lot - crap, but I'm enjoying it! Anyway, a couple of questions, if you …

    ... your own input routine using INKEY$ rather than relying on the ... a key to be pressed; if the key is ENTER, exit ... /> It's more work (especially if you extend it to support ...
    gasman gasman January 2011 Sinclair Basic
  • Spanner seeks helpHello, and HNY, all. I am presently writing a game in BASIC. It's a bit - a lot - crap, but I'm enjoying it! Anyway, a couple of questions, if you …

    ... your own input routine using INKEY$ rather than relying on the ... a key to be pressed; if the key is ENTER, exit ... /> It's more work (especially if you extend it to support ...
    Paddy Coleman Paddy Coleman January 2011 Sinclair Basic
  • Recent talk of developing new SpectrumsHi all, I can see from a few threads on here that some Wossers like Vasil and Aien 8 are interested in developing more powerful Spectrums or improvi…

    ... , like what you may expect if you used the Unix 'open ... it's got INPUT# or INKEY$# and behave accordingly. See the ... use of streams code. Basically, if you use any Spectranet 'open ...
    Winston Winston February 2011 Hardware
  • Compiling Basic to MCHello, I have a lot of long Basic programs. These are mostly strategy programs, good but slow. I was thinking about how to speed them up without com…

    ... that it won't comile INKEY$ commands into machine code instructions ... appeared on a Crash Covertape if my memory serves me corrently ...
    Hercules Hercules February 2011 Development
  • Famous 8 x 8 graphicsHi All, Part of a game I'm writing involves collecting falling 8x8 graphics, one level will be fonts (got this bit sorted) and another will be 8x8 g…

    ... ), movement with IN (instead of INKEY$) and real-time preview in ... lost a long time ago. If someone knows of an utility ... to take a look at. If you pm me your email ...
    zxbruno zxbruno June 2011 Development
  • Famous 8 x 8 graphicsHi All, Part of a game I'm writing involves collecting falling 8x8 graphics, one level will be fonts (got this bit sorted) and another will be 8x8 g…

    ... ), movement with IN (instead of INKEY$) and real-time preview in ... lost a long time ago. If someone knows of an utility ... to take a look at. If you pm me your email ...
    R-Tape R-Tape June 2011 Development
  • Famous 8 x 8 graphicsHi All, Part of a game I'm writing involves collecting falling 8x8 graphics, one level will be fonts (got this bit sorted) and another will be 8x8 g…

    ... ), movement with IN (instead of INKEY$) and real-time preview in ... lost a long time ago. If someone knows of an utility ...
    Einar Saukas Einar Saukas June 2011 Development
  • Why doesn't my routine work?I have a "level" defined by 504 bytes (28 squares across x 18 squares down) I'm trying to write a routine that will take an X,Y coordinate in pixels…

    ... GO SUB 1000
    20 IF A$="Q" THEN STOP

    1000 LET A$=INKEY$ : IF A$="" THEN GO TO 1000 ...
    Dr BEEP Dr BEEP June 2011 Development
  • 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. …

    ... for this:

    1) If someone looks at the source ... on IF statements to improve performance
    * Using LAST_K rather than INKEY ... or distress intended.

    If a Moderator wishes to move ...
    Paddy Coleman Paddy Coleman August 2011 Sinclair Basic
  • Streams - File HandlingHello there my fellow WoS'ers I am attempting to write a Z80 / Snapshot Launching program that is based on a category of files # - Z whereby each f…

    ... size
    160 PRINT #5; INKEY$ #4
    170 NEXT a ... /> [code]
    160 PRINT #5; INKEY$ #4
    [/code]

    if I get time I will ...
    Zetr0 Zetr0 August 2011 Sinclair Basic
<1…16171819202122…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
if 215.2K 333.5K
inkey 833 1.8K

Related Threads

  • How do you tell if if you're a hipster?http://i1142.photobucket.com/albums/n608/daveyboyhughes/hipster_zps81hkjsle.jpg<br /> <br /> What exactly is a hipster? As far as I can tell it's …
  • Wouldn't it be great if...?I was just wondering... wouldn't it be great if the Speccy was relaunched?<br /> <br /> I mean, a souped up Speccy of course. Fully compatible with t…
  • what if...What if... Batman the Movie was made by U.S. Gold instead Ocean?
  • what if.. rygar were made by JoffaSmiff??its a game pefect for him,.. a mixture between GreenBeret, Cobra and Hysteria.<br /> <br /> it would be a superb conversion, Im sure.
  • What if the Spectrum never had colour clash?Silly topic ahoy!<br /> <br /> What if the Spectrum never had colour clash? Would the Speccy have had the same charm? Would games have looked like th…
  • How to tell if I have a Spectrum ZX 16K or 48K?Hi all,<br /> <br /> I'm a total newbie to the good old Spectrum and I got three spectrums in one box together with som other old computers. <br /> <…
  • Wouldn't it be ace if this were true?[url="http://groups.google.com/groups?hl=en&amp;lr=&amp;ie=UTF-8&amp;oe=UTF-8&amp;threadm=bd394b8d.0404010152.67b4eea1%40posting.google.com&amp;rnum=…
  • Dreamcast Emulator Working? As ifHi there speccyfans, well I've now wasted ten discs trying to get Dreamspec to work, if I try another disc and it fails the Dreamcast gets chucked in…
  • How do I know if I have Sasser virus?Ask a silly question, but how do I know if I have the Sasser virus? <br /> I use Windows XP Home. <br /> <br /> Thanks!<br /> <br /> <br /> (I have N…
  • If there's ONE thing that......frustrated you about the spectrum when you were a kid (not now) what would it have been?<br /> <br /> 1) The attribute colour problem<br /> 2) The…

Related Searches

  • if input is not a number
  • shift inkey
  • inkey with caps shift key
  • inkey with capsshift key
  • inkey with capshift key
  • inkey capshift key
  • inkey capshift
  • inkey
  • inkey shift
  • inkey caps shift
  • definitive list of games incompatible with 2a 3 and compatible versions if any
  • how to check if break pressed
  • if creator
  • if 1 switch off
  • determine if interupts enabled
  • inkey asm
  • how to tell if broken
  • how to tell if faulty
  • inkey code
  • if and errors

Copyright © 2024 World of Spectrum