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 844 results in 0.002s
<1234567…29>
  • Games and Programs written in BASinHi all, The new version of BASin is about to be released in the next few days or so, and I'm gathering up example programs to include with it. I se…

    ... using an INPUT command or INKEY$.

    Other than that ...
    Dunny Dunny May 2004 Games
  • Announce: Crap Game Competition 2004The comp.sys.sinclair Crap Game Competition 2004 is now officially open! :roll: [url="http://www.speccyspoilers.co.uk/cgc2004"]www.speccyspoilers.co…

    ... SPECTRUM EMULATOR"
    20 IF INKEY$="" THEN GOTO 20
    30 ...
    jil jil September 2004 Games
  • Zecut0r and ZAFA while ago (about 2 yrs)i took VbSpec and tried to port it to Delphi 6. Althought it was pretty weak, it. Meanwhile DelphiSpec 0.1 appeared and i wa…

    ...

    added key keypressed inkey
    added begin - until and ...
    zecut0r zecut0r October 2004 Emulators
  • Key Redefine RoutineAnyone written a nice key redefine code snippet?

    ... HERE
    90 LET i$=INKEY$
    100 IF i$=k ...
    Dunny Dunny November 2004 Development
  • Key Redefine RoutineAnyone written a nice key redefine code snippet?

    ... this? I know it's INKEY$, or if you're masochistic ...
    Dunny Dunny November 2004 Development
  • Key Redefine RoutineAnyone written a nice key redefine code snippet?

    ... this? I know it's INKEY$, or if you're masochistic ...
    monty.mole monty.mole November 2004 Development
  • Aphex Twin -VS- ZX SpeccyThere?s no need to introduce this musician to the islanders (..means GB and roundabouts). You surely know him very well. Imaginative, strongly experi…

    ... . There's one track called INKEY$ and the type on the ...
    Paul van der Laan Paul van der Laan March 2005 Games
  • New Compo IdeaI've had this idea and would like to know what do you think about it. I think that most of us here know how to code in BASIC. The problem with Specc…

    ... , in regards to keyscanning without Inkey$, or indeed most any poke ...
    CKay CKay March 2005 Development
  • New Compo IdeaI've had this idea and would like to know what do you think about it. I think that most of us here know how to code in BASIC. The problem with Specc…

    ... /> 30 PAUSE 0: LET K$=INKEY$: REM READ MOVE
    40 ...
    na_th_an na_th_an April 2005 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. …

    hi to all.
    On the case of USR x
    I like use:
    100 INPUT "press Space"; USR 1415
    That is very short than:
    100 PRINT #0;"press Space"
    110 IF INKEY$" " THEN GOTO 110
    zx_if1 zx_if1 April 2005 Sinclair Basic
  • 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. …

    In the case of Edit is the same.
    100 if inkey$=chr$6 then...
    Press then "Edit" key
    zx_if1 zx_if1 April 2005 Sinclair Basic
  • 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. …

    ... ]
    10 LET X=X+(INKEY$="8")-(INKEY$="5")
    [/code]
    Colin Williams Colin Williams April 2005 Sinclair Basic
  • 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. …

    ... ]
    10 LET X=X+(INKEY$="8")-(INKEY$="5")
    [/code]
    Dunny Dunny April 2005 Sinclair Basic
  • 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. …

    ... ]
    10 LET X=X+(INKEY$="8")-(INKEY$="5")
    [/code]
    10 LET X=X+(INKEY$="8" AND X0)
    [/code ...
    Paul van der Laan Paul van der Laan April 2005 Sinclair Basic
  • 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. …

    [quote]
    On 2005-04-12 21:05, Colin Williams wrote:
    [code]
    10 LET X=X+(INKEY$="8")-(INKEY$="5")
    [/code]
    [/quote]

    On general principles, I'd say that should be rewritten to avoid the race condition.
    Philip Kendall Philip Kendall April 2005 Sinclair Basic
  • 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. …

    ... , I can't see how INKEY$ changing partway through the line ... (and sillier) example of an INKEY$ race condition might be:
    gasman gasman April 2005 Sinclair Basic
  • 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. …

    ... ]
    10 LET X=X+(INKEY$="8" AND X0)
    [/code ... />
    10 LET X=X+(INKEY$="8")*(X0)

    I ... LET X=FN M(X,INKEY$,32,"5","8")
    30 ... LET Y=FN M(Y,INKEY$,22,"6","7")
    Dr BEEP Dr BEEP April 2005 Sinclair Basic
  • 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. …

    ... if storing the result of INKEY$ in a variable and then ... would be faster than executing INKEY$ twice. Does anyone know ...
    Colin Williams Colin Williams April 2005 Sinclair Basic
  • 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. …

    ... to

    LET A$=INKEY$

    which has it ... have to happen twice. With INKEY$, it pretty much decodes the ... bit of processing involved in INKEY$, and that also happens twice ...
    Dunny Dunny April 2005 Sinclair Basic
  • 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. …

    ...
    40 LET x=x+(INKEY$="8")-(INKEY$="5")
    50 NEXT ... 1000
    30 LET a$=INKEY$
    40 LET x=x ... .

    I believe the INKEY$ method wins for speed. However ... pointed out, the value of INKEY$ can change as the statement ...
    Dunny Dunny April 2005 Sinclair Basic
  • 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. …

    ... , I got 65 seconds for INKEY$ vs. 90 seconds for using ...
    Colin Williams Colin Williams April 2005 Sinclair Basic
  • 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. …

    [quote]
    On 2005-04-13 13:14, Arjun wrote:
    Oooh, that DEF FN stuff looks like it would be an ideal candidate for RC, no?
    [/quote]

    No, the call of INKEY$ is only done once!
    Dr BEEP Dr BEEP April 2005 Sinclair Basic
  • A silly BASIC programming challenge for you all..This is a very, very sily idea. So only read if you are bored. I use E-bay a lot. (my user id is thx1138ebn) edit: it's now retro-technology :edit…

    1 let x=5:Let y=5
    2 let y=y+1:If INKEY$="a" then let y=y-2
    3 PLOT x,y:Let x=x+1:GoTo 2

    80 chars or thereabout (without line number :( )... Don`t know what is is mind, hehe
    CKay CKay May 2005 Sinclair Miscellaneous
  • Manic Miner Basic Source?Is there any sinclair basic source for Manic Miner going around on the net? also does anyone have any good guides which can get one started on making…

    ... up down left right keys(INKEY$).
    Then try to get ...
    alanspec alanspec September 2005 Sinclair Basic
  • 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. …

    ... is the default channel for INKEY$ and stream 1 was supposed ...
    Geoff Geoff October 2005 Sinclair Basic
  • Help with text adventureOk, a few probs. First, part of my game is a quiz, where questions and answers are given, the player has to type '.' if the answer is correct, or 'x'…

    ... however you like, even using INKEY$ instead of INPUT to get ...
    Dunny Dunny October 2005 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
capshift 11 14

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

Copyright © 2024 World of Spectrum