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 847 results in 0.028s
<1234567…29>
  • 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…

    ... New"]10 LET k=CODE INKEY$
    20 PRINT AT 1 ...
    Paddy Coleman Paddy Coleman August 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…

    ... />
    Pause 100
    Print Inkey

    Now here is ...
    Robin Robin October 2010 Sinclair Basic
  • IN or INKEY ?just curious which is better to use.. I have a menu done.. and use 6/7 to go up down it + space to cycle thru the options (using inkey).. obv. if I w…

    ... cycle thru the options (using inkey).. obv. if I want to ... " or can I use say INKEY CHR ?
    fog fog October 2011 Sinclair Basic
  • INKEY$ giving me troubleHello, I have been using BASin (great program by the way...) Sad though it seems during the typhoon here I have been re-learning my spec-skills an…

    ... (don't laugh..lol) get INKEY$ to capture Y or y ... /N:"
    35 LET Q$=INKEY$
    36 PAUSE 10
    107 LET Q$=INKEY$
    108 IF Q$="Y ...
    WibbleBibble WibbleBibble August 2012 Sinclair Basic
  • Upper case in INKEY$Hi, how I get upper case in INKEY$ ? Is there a POKE ? Thanks.

    Hi,
    how I get upper case in INKEY$ ? Is there a POKE ?
    Thanks.
    catmeows catmeows May 2014 Sinclair Basic
  • BASin + INKEY$ + SymbolShiftHow can I get BASin to recognise SymbolShifted keys with INKEY$ while running a program? The Help tells me that Control = SymbolShift, but I've tried…

    ... to recognise SymbolShifted keys with INKEY$ while running a program? The ... >=tgo:
    LET i$=INKEY$: IF i$>="5" AND ...
    Battle Bunny Battle Bunny July 2014 Sinclair Basic
  • ZX48k terminal...Hello everybody, I thought someone might help me. I connect my good old ZX48k to my PC via serial (IF1) link, and I was trying to write a little term…

    ... #4.
    read a char (INKEY$) from #4, and print it ... o$=""
    30 let c$=INKEY$
    40 if c$ = o ... o$=c$
    60 print INKEY$ #4;
    70 goto 30 ... on the keyboard affect the INKEY$ #4??
    And why as ...
    Alessandro Tommasi Alessandro Tommasi October 2001 Sinclair Miscellaneous
  • BASIC code challengeWrite a program in BASIC as short as possible that will continue after KEY-RELEASED. The program must be fully relocatable (so it must be programmed …

    ... program is
    0 GOTO INKEY$=""

    but this cannot ...
    Dr BEEP Dr BEEP August 2002 Sinclair Miscellaneous
  • Where do you start!I am fairly new to spectrums, and have only been programming for a couple of years starting on bbc basic. where do you start programming a game. Is a…

    ... x=0
    20 if inkey$ = chr$(59) then let x ...
    guesser guesser September 2004 Development
  • Amazing Short Type-InsHey all ! Been having some pretty stressfull days lately so I tought I would type in some games. There was a very nice type-in book here in Slovenia…

    ... 220
    70 LET z$=INKEY$: IF z$>"4" AND ...
    Tom-Cat Tom-Cat March 2006 Games
  • Firefox (new thoughts)Maybe more people would use Firefox if there was a version for the Speccy! [code] 10 PRINT AT 2, 2; "Press F for Firefox or I for M$IE" 20 LET K$=IN…

    ... $IE"
    20 LET K$=INKEY$: IF K$="" THEN GO TO ...
    Where's that AY chip gone... Where's that AY chip gone... November 2006 Chit chat
  • The BASIC ISRFirst of all, excuse me if my blatant ignorance about this topic makes me write some nonsense :) The thing is that I'm finishing a game in mixed BAS…

    ... 1: RANDOMIZE USR play: IF INKEY$="" THEN GOTO 20
    30 ...
    na_th_an na_th_an November 2006 Sinclair Basic
  • Game OptimisationBelow is a section of code Im using for movement enermy display and collision detect. What happens is that you move the sight with ,.qa and space do…

    ... 144
    110 IF INKEY$="." THEN LET playerx=playerx+ ... "
    120 IF INKEY$="," THEN LET playerx=playerx-1 ... "
    130 IF INKEY$="q" THEN LET playery=playery ... "
    140 IF INKEY$="a" THEN LET playery=playery ... ;" "
    150 IF INKEY$=" " THEN GO SUB 470 ...
    Toxitalk Toxitalk May 2007 Sinclair Basic
  • BASIC Keyword ReferenceRealised that the Sinclair Basic section would be a better place for discussion of BASIC keywords, so for reference the old thread is in [thread=2005…

    ... + X STR$ : E : Y
    INKEY$ : E : N TAB : E : P ...
    icabod icabod March 2008 Sinclair Basic
  • Suggestion: A new (and simple but good) feature for emulatorsOne slight but real problem with emulators is that when you load a tape file (.tzx/.tap) then the randomise seed system variables are always set to z…

    ... ] to continue"
    3 if INKEY$ " " then goto 3
    4 ...
    ewgf ewgf August 2008 Emulators
  • Using INPUT without clearing last two lines of screen?I'm trying to print to the 22nd row of the screen using the ol' print #0 trick. Unfortunately, I require user INPUT which seems to wipe out the botto…

    ... the hard way by using INKEY$ to simulate user input?
    Arjun Arjun January 2009 Sinclair Basic
  • What Poke?Hi all, I'm looking for a POKE that stops Sinclair BASIC reading the space bar as BREAK for a small INKEY$ sub routine, if one exists? Or is it a li…

    Hi all,

    I'm looking for a POKE that stops Sinclair BASIC reading the space bar as BREAK for a small INKEY$ sub routine, if one exists? Or is it a little more complicated than that?

    Regards,

    Shaun.
    Shaun.Bebbington Shaun.Bebbington January 2009 Sinclair Basic
  • ZXSP and keyboard IN command (BASIC)?Just trying to get Astral Foxgloves type-in working on the ZXSP OS X emulator. Doesn't seem to be picking up the keyboard presses - it uses the IN Co…

    ... . May be it only likes INKEY$?

    Here is the ...
    SteveP SteveP January 2009 Emulators
  • Couple of questions...Howdy, 1. Is there a decent way to get a random number in BASIC/MC? I've been using LET a=INT(RND*2)+1 but the numbers tend to stay at 1 or 2 most …

    ... a PAUSE statement after an INKEY$ statement, then when a key ... is pressed it passes the INKEY$ (as expected), but also shortcuts ...
    polomint polomint March 2009 Development
  • So what about ethernet and ZX BASIC?Well, as of about 5 minutes ago, ZX BASIC for the first time properly wrote some packets to the network! OK, so it isn't perhaps 100% what Andrew Ow…

    ... , using that stream number. INPUT #, INKEY$# (to poll a socket stream ...
    Winston Winston July 2009 Hardware
  • Channels and streams - reading dataThe FAQ here - [url]http://www.worldofspectrum.org/faq/reference/48kreference.htm[/url] - seems to be just a touch inaccurate when it comes to readin…

    ... set the carry flag, PRINT INKEY$#4 shows "?" rather than "X ... return data so that both INKEY$# and INPUT# work? (Or will ...
    Winston Winston July 2009 Development
  • Writing internet servers in ZX BASICNew Spectranet news! I have just finished adding the code to allow listening sockets to be used from BASIC. A simple example: [code] 10 %listen #4,…

    ... NEXT i
    100 IF INKEY$#4="1" THEN GO TO ...
    Winston Winston August 2009 Hardware
  • An update on ZX BASIC support for the SpectranetOne for zxbruno, I hope :-) So just an example of what now can be done with the network filesystem and BASIC. The following listing is of a program …

    ... one..."
    100 LET k$=INKEY$
    110 IF k$="" THEN ... /N)"
    2020 LET a$=INKEY$
    2030 IF a$="n ... ;"-- More --"
    2710 LET a$=INKEY$
    2720 IF a$="" THEN ...
    Winston Winston March 2010 Sinclair Basic
  • Seeking alternatives to DATA statementsAnyone know of any memory saving alternatives to storing a list of numbers, other than using DATA statements or poking data into addresses?... Im ti…

    ... MININ*L,P-PITCH: IF INKEY$="" THEN GO TO 20
    kgmcneil kgmcneil August 2010 Sinclair Basic
  • Simultaneous key presses in BASICIs there a way to check for 2 simultaneous key presses in BASIC? I use if inkey$="z" then goto... but that only lets me check for 1 key press at a…

    Is there a way to check for 2 simultaneous key presses in BASIC?

    I use

    if inkey$="z" then goto...

    but that only lets me check for 1 key press at a time.
    Rebelstar without a cause Rebelstar without a cause September 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 …

    ... /> 9270 LET i(6)=CODE INKEY$
    9280 IF i(6 ...
    Paddy Coleman Paddy Coleman October 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$:
    IF (k=10 AND ...
    Paddy Coleman Paddy Coleman November 2010 Sinclair Basic
  • A little program to set the time...Hi Folks, OK, I have amended the program so you now have four routines/functions you can use in your own programs: TIME: GET - Reads the current va…

    Hi Folks,

    OK, I have amended the program so you now have four routines/functions you can use in your own programs:

    TIME: GET - Reads the current value from FRAMES and stores it in HH,MM and SS
    TIME: SET - Sets FRAMES to the ...
    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 ...
    hedge hedge January 2011 Development
  • Copying a SCREEN$ in ZX BASIC in 1 second?!Following on from the revived "[thread=20207]Saving a complete SCREEN$ in BASIC[/thread]" thread (although Arjun really only needed a suitable POKE i…

    ... press ""j"""
    36 IF INKEY$"j" THEN PAUSE 0: GO ... ""j"" again"
    51 IF INKEY$"j" THEN PAUSE 0: GO ...
    Battle Bunny Battle Bunny April 2011 Sinclair Basic
<1234567…29>

Latest Posts

  • How to return to basic properly from ASM
    Paradigm Shifter on 1:54AM
  • Minor British Sports that did become games on the ZX Spectrum
    dmsmith on April 8
  • Frankie's ZX Spectrum Digouts
    Zup on April 8
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 8
  • 1992 Spectrum Software
    harriusherbartio on April 7
  • Celebrity deaths...
    mel the bell on April 7
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 7
  • spectrum in netflix bomb and the cold war documentary
    zxbruno on April 7
  • Are there any decent Speccy Flight Sims?
    harriusherbartio on April 7
  • Who Has Got The Earliest ZX Spectrum Software?
    harriusherbartio on April 6

HitBox

Word Docs Hits
inkey 833 1.8K
keydown 14 24

Related Threads

  • BASin and INKEY$Hi Folks,<br /> <br /> Recently started using BASin after many years away from the Spectrum. Totally amazing piece of software and fun to use. I ha…
  • Inkey problem||This is on a REAL speccy||<br /> Hi everyone<br /> <br /> I have a function where the user presses a key and then it shows it on the screen. So thi…
  • IN or INKEY ?just curious which is better to use.. I have a menu done.. and use 6/7 to go up down it + space to cycle thru the options (using inkey).. obv. if I w…
  • INKEY$ giving me troubleHello,<br /> <br /> I have been using BASin (great program by the way...)<br /> <br /> Sad though it seems during the typhoon here I have been re-le…
  • Upper case in INKEY$Hi, <br /> how I get upper case in INKEY$ ? Is there a POKE ?<br /> Thanks.
  • BASin + INKEY$ + SymbolShiftHow can I get BASin to recognise SymbolShifted keys with INKEY$ while running a program? The Help tells me that Control = SymbolShift, but I've tried…

Related Searches

  • 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
  • inkey asm
  • if inkey
  • inkey code
  • inkey release key
  • touch screen inkey
  • touch inkey
  • inkey one single key
  • inkey one key
  • inkey release
  • inkey key release
  • keydown

Copyright © 2024 World of Spectrum