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.040s
<1…18192021222324…34>
  • Official CSSCGC 2012 Competition Threadcsscgc2012 already got it's first entry (from R-Tape) :) So I'm almost forced to start the new official csscgc thread here. The official c.s.s Crap …

    ... game loop played out. Using inkey$ is ********, really ********. Pehaps I'm ... I still got it wrong - if it was compiled basic you ...
    spud spud June 2012 Games
  • What is the best way to detect CAPS LOCK?Hi Folks, Not sure what the correct behaviour is here as I do not have access to a real Spectrum. Under BASin, when you press CAPS LOCK on the PC k…

    ... set upper case. So the INKEY$ and INPUT routines effectively read ... such address to know if they should output lower or ...
    na_th_an na_th_an July 2012 Sinclair Basic
  • What is the best way to detect CAPS LOCK?Hi Folks, Not sure what the correct behaviour is here as I do not have access to a real Spectrum. Under BASin, when you press CAPS LOCK on the PC k…

    ... /> 10 LET a = CODE INKEY$
    20 IF a = 6 THEN RANDOMIZE ...
    guesser guesser July 2012 Sinclair Basic
  • What is the best way to detect CAPS LOCK?Hi Folks, Not sure what the correct behaviour is here as I do not have access to a real Spectrum. Under BASin, when you press CAPS LOCK on the PC k…

    ... first!
    FLAGS2 only changed if a INPUT is called and ... /> 10 LET a = CODE INKEY$
    20 IF a = 6 THEN RANDOMIZE ... 30 to:
    30 IF a>31 THEN PRINT ... LOCK" to work.
    Also if RAND USR 4317 is called ... what cursor is active and if you press a key ( ...
    Encarnado Encarnado July 2012 Sinclair Basic
  • What is the best way to detect CAPS LOCK?Hi Folks, Not sure what the correct behaviour is here as I do not have access to a real Spectrum. Under BASin, when you press CAPS LOCK on the PC k…

    ... /> 10 LET a = CODE INKEY$
    20 IF a = 6 THEN RANDOMIZE ... on the DS to see if it works there as well ...
    Paddy Coleman Paddy Coleman July 2012 Sinclair Basic
  • What is the best way to detect CAPS LOCK?Hi Folks, Not sure what the correct behaviour is here as I do not have access to a real Spectrum. Under BASin, when you press CAPS LOCK on the PC k…

    ... lower-case.[/QUOTE]

    If you didn't understand this ... />
    When running a program, INKEY$ just returns the pressed keys ... FLAGS2 is not automatically changed if you press Shift-2 during INKEY$.
    Einar Saukas Einar Saukas July 2012 Sinclair Basic
  • What is the best way to detect CAPS LOCK?Hi Folks, Not sure what the correct behaviour is here as I do not have access to a real Spectrum. Under BASin, when you press CAPS LOCK on the PC k…

    [QUOTE=Einar Saukas;638880]If you didn't understand this ... />
    When running a program, INKEY$ just returns the pressed keys ... not automatically changed if you press Shift-2 during INKEY$.[/QUOTE]
    MrCheese MrCheese July 2012 Sinclair Basic
  • What is the best way to detect CAPS LOCK?Hi Folks, Not sure what the correct behaviour is here as I do not have access to a real Spectrum. Under BASin, when you press CAPS LOCK on the PC k…

    ... [code] 1 LET i=CODE INKEY$: PRINT i,PEEK 23560
    INKEY$/LAST_K also become out ... the CapsLock light is off, INKEY$ returns (eg.) "A" but ... be kept in synch if Extended/Graphic options are ... -2 has been pressed if the emulator is only ...
    Battle Bunny Battle Bunny July 2012 Sinclair Basic
  • What is the best way to detect CAPS LOCK?Hi Folks, Not sure what the correct behaviour is here as I do not have access to a real Spectrum. Under BASin, when you press CAPS LOCK on the PC k…

    ... =Encarnado;639036]LAST_K only changes if you press a different key ... i=PEEK 23560: PRINT CODE INKEY$,i
    2 PAUSE 0 ... ]
    in BASin (or ZXDS, if you have it) with say ...
    Battle Bunny Battle Bunny July 2012 Sinclair Basic
  • What is the best way to detect CAPS LOCK?Hi Folks, Not sure what the correct behaviour is here as I do not have access to a real Spectrum. Under BASin, when you press CAPS LOCK on the PC k…

    ... i=PEEK 23560: PRINT CODE INKEY$,i
    2 PAUSE 0 ... ]
    in BASin (or ZXDS, if you have it) with say ... get 6 returned from CODE INKEY$.

    Paddy
    Paddy Coleman Paddy Coleman July 2012 Sinclair Basic
  • What is the best way to detect CAPS LOCK?Hi Folks, Not sure what the correct behaviour is here as I do not have access to a real Spectrum. Under BASin, when you press CAPS LOCK on the PC k…

    ... get 6 returned from CODE INKEY$.[/QUOTE]

    Eh?! - but ... not seem to register anything. If I then press a third ...
    Battle Bunny Battle Bunny July 2012 Sinclair Basic
  • What is the best way to detect CAPS LOCK?Hi Folks, Not sure what the correct behaviour is here as I do not have access to a real Spectrum. Under BASin, when you press CAPS LOCK on the PC k…

    ... 0 : LET a = CODE INKEY$
    20 IF a = 6 THEN RANDOMIZE ... USR 4317
    30 IF a>31 THEN PRINT ... is the last key pressed. If a emulator return another value ...
    Encarnado Encarnado July 2012 Sinclair Basic
  • BIFROST* ENGINE 1.2 released!Another improved version of the BIFROST* ENGINE is now available! Download it here: [url]http://www.worldofspectrum.org/infoseekid.cgi?id=0027405[/u…

    ... blah bla.

    While Inkey$ = ""
    Asm
    Halt
    y = y + my

    If x = 1 Or x = 17 ... Then mx = -mx: End If
    If y = 1 Or y = 17 ... Then my = -my: End If
    Wend[/code]

    na_th_an na_th_an August 2012 Brand new software
  • 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 ... ask if instructions are required. However, to do it with INKEY$ change ... :

    35 LET Q$=INKEY$: IF Q$="" THEN GOTO 35
    210 LET Q$=INKEY$: IF Q$="" THEN GOTO 210
    chev chev August 2012 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…

    ... You could do that but if it's fast response ... much easier to just use INKEY$ where required and eliminate ... LET Q$=INKEY$
    36 PAUSE 10
    40 IF Q$="" ... /> 107 LET Q$=INKEY$
    108 IF Q$="Y" THEN GO ... 35 LET Q$ = INKEY$
    36 REM
    40 IF Q$ = "" THEN ...
    Arjun Arjun August 2012 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…

    [QUOTE=The Starglider;645064]If anything I'd drop the whole string part of the INKEY$ routine.[/QUOTE]
    Makes sense for a one off, but if you're making it a subroutine it's neater to pass a string back.
    chev chev August 2012 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…

    ... was pressed. To simplify INKEY$ checks the CAPS mode ... afterwards, and if you're just using INKEY$ then CapsShift- ... ...
    35 LET q$=INKEY$: GO TO 35+(10 AND ... ...
    n LET q$=INKEY$: GO TO FN c()+(10 ... br /> If there is more than one set of INKEY$ option ...
    Battle Bunny Battle Bunny August 2012 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…

    ... inputs.

    with setting INKEY$ to a beginning value also ... to one of the books? If there were some source code ...
    WibbleBibble WibbleBibble August 2012 Sinclair Basic
  • WibbleBibble's Basic threadHi in an attempt to keep my questions from spamming the forum. I think its better to put them all in one place. Thanks everyone so far, I feel I am …

    ... ,C;"*"
    50 LET A$=INKEY$: IF A$="" THEN GO TO 50 ... AT L,C;" "
    70 IF A$>="0" AND A$
    Timmy Timmy August 2012 Sinclair Basic
  • WibbleBibble's Basic threadHi in an attempt to keep my questions from spamming the forum. I think its better to put them all in one place. Thanks everyone so far, I feel I am …

    ... 2000
    210 LET A$=INKEY$
    220 LET C1=C ... $="8")-(A$="5")
    230 IF ATTR (11,C1)=0 OR ... T1=T+X
    2020 IF T1>3 AND T1
    WibbleBibble WibbleBibble August 2012 Sinclair Basic
  • WibbleBibble's Basic threadHi in an attempt to keep my questions from spamming the forum. I think its better to put them all in one place. Thanks everyone so far, I feel I am …

    ... Caps-shifted number keys to INKEY$. This line of BASIC demonstrates ... ]10 PAUSE 0: LET a$=INKEY$: PRINT #0;AT 1,0 ... it turns out that the INKEY$ routine in the ROM doesn ...
    Battle Bunny Battle Bunny August 2012 Sinclair Basic
  • WibbleBibble's Basic threadHi in an attempt to keep my questions from spamming the forum. I think its better to put them all in one place. Thanks everyone so far, I feel I am …

    ... D)
    40 LET A$=INKEY$
    50 LET D= ... />
    Defines a input stream, INKEY$ only worries about the first ... input. Then the product of INKEY$ is assigned to the ... D)
    40 LET A$=INKEY$
    50 LET D= ... D)
    40 LET A$=INKEY$: IF A$="" THEN GO TO 40 ...
    WibbleBibble WibbleBibble August 2012 Sinclair Basic
  • WibbleBibble's Basic threadHi in an attempt to keep my questions from spamming the forum. I think its better to put them all in one place. Thanks everyone so far, I feel I am …

    ... =1 TO 2
    70 IF CT/T(N)=INT (CT ... /> 80 NEXT N
    90 IF ABS (X(1)-X(2))
    WibbleBibble WibbleBibble August 2012 Sinclair Basic
  • WibbleBibble's Basic threadHi in an attempt to keep my questions from spamming the forum. I think its better to put them all in one place. Thanks everyone so far, I feel I am …

    ... =1 TO 2
    70 IF CT/T(N)=INT (CT ... /> 80 NEXT N
    90 IF ABS (X(1)-X(2))
    WibbleBibble WibbleBibble August 2012 Sinclair Basic
  • WibbleBibble's Basic threadHi in an attempt to keep my questions from spamming the forum. I think its better to put them all in one place. Thanks everyone so far, I feel I am …

    ... =1 TO 2
    70 IF CT/T(N)=INT (CT ... /> 80 NEXT N
    90 IF ABS (X(1)-X(2))
    WibbleBibble WibbleBibble August 2012 Sinclair Basic
  • WibbleBibble's Basic threadHi in an attempt to keep my questions from spamming the forum. I think its better to put them all in one place. Thanks everyone so far, I feel I am …

    ... /> * Line 74 checks for input if it's the player's ... and checks for a catch if it's the player's ... seconds display is only updated if something has moved.
    [ ... 3)=CHR$ (g AND g1): IF b THEN
    LET m ... b=(a$="6")-(a$="7"): IF b THEN
    PRINT g ...
    Battle Bunny Battle Bunny August 2012 Sinclair Basic
  • WibbleBibble's Basic threadHi in an attempt to keep my questions from spamming the forum. I think its better to put them all in one place. Thanks everyone so far, I feel I am …

    ... ";
    210 LET A$=INKEY$: IF A$="" THEN GO TO 210 ... TO 300
    230 IF A$="8" THEN LET X1 ... TO 300
    240 IF A$="6" THEN LET Y1 ... TO 300
    250 IF A$="7" THEN LET Y1 ... TO 300
    280 IF A$="Q" THEN STOP
    300 IF X163 THEN LET X1=63 ...
    WibbleBibble WibbleBibble August 2012 Sinclair Basic
  • WibbleBibble's Basic threadHi in an attempt to keep my questions from spamming the forum. I think its better to put them all in one place. Thanks everyone so far, I feel I am …

    ... /> 5) it would be nice if they exploded and there were ... ;I$
    50 LET A$=INKEY$: IF A$"" THEN GO SUB 100 ... C=C+D
    70 IF C>=20 THEN LET ...
    WibbleBibble WibbleBibble August 2012 Sinclair Basic
  • Interesting tip to speed up user experience...Hi Folks, I suspect many of you will already know this but it only dawned on me a couple of weeks ago. Whilst trying to improve the speed on my XIN…

    ... bit odd to me... surely if you're replacing the INPUT ... bar, you'll be using INKEY$, where the keyboard repeat / debounce ... should probably mention that detail, if so!)
    gasman gasman August 2012 Sinclair Basic
  • Interesting tip to speed up user experience...Hi Folks, I suspect many of you will already know this but it only dawned on me a couple of weeks ago. Whilst trying to improve the speed on my XIN…

    ... odd to me... surely if you're replacing the ... bar, you'll be using INKEY$, where the keyboard repeat / ... should probably mention that detail, if so!)[/QUOTE]

    INKEY$ (LET a=CODE INKEY$). In most ... cases the PEEK and INKEY$ are preceeded by a ...
    Paddy Coleman Paddy Coleman August 2012 Sinclair Basic
<1…18192021222324…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