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

    ... ;"Choose one..."
    100 LET k$=INKEY$
    110 ...
    120 LET k=CODE k$-CODE "a"+1
    ... br /> 2020 LET a$=INKEY$
    2030 IF a$="n" THEN CLS ... --"
    2710 LET a$=INKEY$
    2720 IF a$="" THEN GO TO ... RETURN
    2800 LET clr=CODE a$(2 TO 2)-CODE ...
    Winston Winston March 2010 Sinclair Basic
  • Strangely, I just can't STOPOK, I bought an RWAP keyboard matrix and put it in my Spectrum+ last night (ta), I did the Swedish composite mod with a capacitor, I fixed the missin…

    ... Swedish composite mod with a capacitor, I fixed ... disconnects and operates FIRE on a second joystick port.
    The 'A' key works, caps-shifted ... AT 0,0;
    20 LET A = 128 * 256
    ... 40 PRINT IN (65534 - A);" "
    50 LET A = A / 2
    60 ...
    joefish joefish April 2010 Sinclair Miscellaneous
  • WTF stupid machine10 LET X = 28672 or 61440 depending on how much memory you have 20 LET A$ = ?? 30 IF A$ = ?? THEN INPUT A$ 40 LET Y = CODE A$ ? 48:IF Y>9 THEN LET Y …

    ... 20 LET A$ = ??
    30 IF A$ = ?? THEN INPUT A$
    40 LET Y = CODE A ... $ ? 48:IF Y>9 THEN LET ... Y ? 7
    50 LET Z = CODE A$(2) ? 48: IF Z ... >9 THEN LET Z = ... = X + 1
    80 LET A$ = A$(3 TO )
    90 GO ...
    Robin Robin September 2010 Sinclair Basic
  • Machine code issue...Hi Folks, My trials with MCODE continue and I am stuck. I wrote the following program in BASIC to simply POKE an attribute byte in to a "box" on th…

    ... p(5)=Attribute
    1045 LET a=22528+p(1)*32+p ... /> POKE a,p(5):
    LET a=a+1:
    NEXT c:
    LET a=a+32 ... /> 3A02FA LD A,(64002) ;A=Height
    47 LD B,A ;B=Height ...
    Paddy Coleman Paddy Coleman September 2010 Sinclair Basic
  • variable variable names with VAL$It's possible to make the RH-side variable names in a LET statement be themselves variable by using VAL$. Thus, if v$ holds the [b]name[/b] of anothe…

    ... RH-side variable names in a LET statement be themselves variable by ... another variable, then:
    [b]LET a$=VAL$ v$[/b]
    for ... a string, or:
    [b]LET anumber=VAL VAL ... LH-side variable name in a LET statement be variable. I can ...
    Battle Bunny Battle Bunny October 2010 Sinclair Basic
  • INSTR function...Hi Folks, Another little program that people might find useful: [CODE]100 DIM i(4) 110 LET a$="This is some sample text" 120 LET b$="text" 130 GO S…

    ... DIM i(4)
    110 LET a$="This is some sample text ... SUB 9000
    140 PRINT "a$=";a$:
    PRINT "b$=";b$:
    LET i(3)=LEN a$-i(2)+1:
    LET i(4)=0
    9080 LET i(1)=i(1)+1:
    IF a$(i(1 ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Storing two 4 bit values in one byteHi Folks, Another little tip to share although I suspect this one will be known to a lot of you out there. ;-) I wanted the ability to store two 4 …

    ... one will be known to a lot of you out there ... ]100 LET A=7
    110 LET B=5
    120 LET BYTE=A*16 ... +B
    130 LET A=INT(BYTE/16 ... )
    140 LET B=BYTE-A*16[/CODE ...
    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 RedWhi0=58:
    LET RedWhi1=122:
    LET b=0:
    LET a$="Sample ... First Line Data Here":
    LET b ... ;"ATTR Line ";a;"=";ATTR (a,1):
    NEXT a
    190 LET y=0 ...
    Paddy Coleman Paddy Coleman November 2010 Sinclair Basic
  • Klaatu barada niktoSo, they let a complete stranger, a man, look after their boy for the day? heh - that's now seems more far fetched than the whole alien from another…

    So, they let a complete stranger, a man, look after their boy for the day?

    heh - that's now seems more far fetched than the whole alien from another planet part of the story.
    thx1138 thx1138 April 2011 Chit chat
  • SpecBAS 0.646 now available.Yay! Here's another round of bugfixes and additions to the Program. Not so much of the extract coding features, but more back-to-basics this time: […

    ... highlighting to the LIST window. Let me know what you think ... the # character:

    10 LET a$="Hello"#32"there!"

    a very good reason... a bug.
    Small ... meant that loading graphics into a graphic bank was pretty ...
    Dunny Dunny May 2011 Sinclair Miscellaneous
  • Storing and displaying attributes...Hi Folks, I have a requirement to store and then redisplay a line of attributes from the screen. For example: 100 DIM a$(1,32) 110 LET line=10 120…

    ... />
    I have a requirement to store and then ... redisplay a line of attributes from ... a$(1,32)
    110 LET line=10
    120 LET a$( ... 1)=USR xxxxx

    After line 120 a$(1 ... or will it require a couple of machine code ...
    Paddy Coleman Paddy Coleman June 2011 Sinclair Basic
  • Speeding up select processing...Hi Folks, I have the following code in my program and it works fine but is rather "sluggish". I have even moved it to the beginning of the program …

    ... REM
    260 LET t(1)=2:
    LET t(3)=t ... /> POKE 23560,0
    280 LET t(2)=PEEK 23560:
    320 LET a=t(1)+(2 AND t ... at(1) THEN LET a$=s$:
    LET t(1)=a: GO TO 270 ... /> 340 OVER NOT PI:
    LET s$="":
    POKE 23563,0 ...
    Paddy Coleman Paddy Coleman June 2011 Sinclair Basic
  • Operator ANDHi I'm trying to write some very simple game in ZX Basic, but I guess I've forgot most of it because I can't understand why simple IF....THEN sequen…

    ... executed:

    ...
    10 let a=1
    ...
    100 IF ... a=0 AND SCREEN$ (1,1)=" " THEN LET Y=Y ... true. I was surprised that LET Y=Y-1 is executed ... SCREEN$ (1,1)=" " AND a=0 THEN LET Y=Y-1
    Kuba Adamowicz Kuba Adamowicz July 2011 Sinclair Basic
  • Sneak Peak...Hi Folks, A sneak peak of the application I have been writing over the last few months (with a lot of help from this group, BASin and recently ZXDS)…

    ... Folks,

    A sneak peak of the application ... the last few months (with a lot of help from this ... move areas of memory via a simple LET A$=B$.

    ... the application but I wanted a program that would run my ... timetable for my layout on a DSi XL. ;)
    Paddy Coleman Paddy Coleman July 2011 Sinclair Basic
  • Help with random numbers......Hi all, wonder if anyone can help me... sort of a novice here ... I have been trying to write a simple ish basic program to compare random sets of n…

    ... the sets, someone suggested a randomize command ,but that ...
    40 DIM A(49)
    50 LET Z=49
    ... FOR n=1 TO z: LET a(n)=n: NEXT n< ... n)
    90 LET X(c)=a(x): LET c=c+1< ... SETS OF 6
    140 LET C1=1
    150 ... 170 NEXT F
    180 LET C1=C1+6: PRINT
    loonix loonix July 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…

    ... FILE HANDLING
    10 LET y=0:
    LET a$=""

    ... 13 THEN GO SUB 1000: LET a$=""
    50 IF c ... AND c < 128 THE LET a$=a$+ CHR$ c
    60 ... 1000 PRINT AT y,0; a$ :
    LET y=y+1 :
    a character at a time from the file ...
    Zetr0 Zetr0 August 2011 Sinclair Basic
  • Would you be an organ donor?I don't know what prompted it, but at work I overheard a typist tell another that she'd never sign up to be an organ donor as if you were dying in ho…

    ... then they'd just let you die instead of ... people were corrupt enough to let people die for their ... person see, or my eardrums let a deaf person hear, or ... my spinal column and legs let a wheel-chair bound person ... my body is just a corpse on a mortuary slab, then ...
    ewgf ewgf November 2011 Chit chat
  • SpecBAS 0.718 Now AvailableHi Folks! After an appreciable delay, the latest and (dare I say it?) greatest SpecBAS update is now available. We're moving into modern times with …

    ... coord(x,y)
    20 LET a$=STRUCT coord(x=100,y ... be assigned to strings, with LET a$=STRUCT name[(default param=value ... separate member parameters - LET a$.myval=10 or LET a$.mystr$="Hello"
    Can ...
    Dunny Dunny January 2012 Sinclair Miscellaneous
  • BASIC: Find the nearestHello guys) A few days ago I found oldie ?Jeux et casse-tete a Programmer? by Jacques Arsac (Paris?85) and suggested my nephew to try a few in Basic…

    ... Jeux et casse-tete a Programmer? by Jacques Arsac ... Shortly,
    - there?s a field NxM
    - there?s ... a hero at a random position
    ... via
    a) bruteforce dim A/B scanning, e ... let a=abs(A(i)-x): let b=abs(B(i)-y)
    let distance2=a ...
    NRA NRA January 2012 Sinclair Basic
  • M/C mathsHow would I do the equivalent of LET A=B*7 in machine code?

    How would I do the equivalent of LET A=B*7 in machine code?
    Rebelstar without a cause Rebelstar without a cause January 2012 Development
  • more on storing mazesPrompted by Wookiee's escapades, I've been pondering on how to use DATA statements directly for displaying background graphics, thus avoiding the dup…

    ... /> POKE a,PEEK a-201: POKE a+1,PEEK (a+1)-96: LET a=a+1
    74 IF PEEK a> ... a+1,PEEK (a+1)-96: POKE a+2,PEEK (a+2)-96: LET a=a+2 ...
    76 NEXT a
    Battle Bunny Battle Bunny February 2012 Sinclair Basic
  • Code optimisation - can you help?Hi Folks, I have been looking at the following code fragment for days and I have been able to improve its performance quite a bit. However, it is a…

    ... its performance quite a bit. However, it is a time critical section ... .

    [CODE]...
    350 LET h=INT (CODE i$(4 ... ;i$(8 TO 30):
    LET h=INT (CODE i$(32 ... ):
    LET m=CODE i$(32)-h*16:
    LET a$="":
    IF ...
    Paddy Coleman Paddy Coleman March 2012 Sinclair Basic
  • New dual floppy disk drives sets offered on eBayI just offered my new dual floppy sets on eBay: [url]http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&item=180850230689[/url] Included is the dual fl…

    ... on

    A floppycable without twist is used ... /> Drives are often named ‘A’ and ‘B’ and often ...
    A floppycables with a twist is used to let a drive respond ... to drive A ... me!
    Also let me know if you want ...
    bverstee bverstee March 2012 Sales
  • Brand new dual floppy disk drives setsI am offering brand new boxed dual floppy sets: [IMG]http://benophetinternet.nl/ebay/IMG_3517.JPG[/IMG] Included in a set are: - A boxed dual flopp…

    ... />
    Included in a set are:
    - A boxed dual floppy drive ... 16: Motor on

    A floppycable without twist is used ...

    A floppycables with a twist is used to let a drive respond ... to drive A or ...
    bverstee bverstee April 2012 Sales
  • ds lite screen issueright heres the story my kids had a pink ds lite after a couple of years it developed a fault, where its not calibrated properly, even when weve tri…

    ... br /> the eldest now has a 3ds and the youngest has ... is indeed still quite a way off for you ... br /> thought just buying a new bottom screen might solve ... theres two?
    a bottom screen plus a touch part?

    its a shame to let a whole a ds lite go to ...
    mel the bell mel the bell June 2012 Chit chat
  • 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…

    ... do not have access to a real Spectrum.

    ... Any keyboard reading from within a BASIC program reflects this.

    [CODE]100 LET a=CODE INKEY$
    110 PRINT ... printed on the screen. Unfortunately, a second press does not seem ...
    Paddy Coleman Paddy Coleman July 2012 Sinclair Basic
  • Best books & Sugested reading..Hi i was trying to search the forum but couldnt find it. Looking at WOS there is a number of books on BASIC, programming, machine code ect.. I mess…

    ... articles assumed you were using a assembler already..) usualy it ended ... and think of a solution to a problem and write a solution in ... than black?

    10 LET A$=CHR$ 16+CHR$ 2+"INPUT ... SOMTHING:"
    20 INPUT (A$); LINE A$

    So what ...
    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 …

    ... Spectrum Games Master. Its a great start thanks for that ... , its supposed to let you draw a title page for the ... : CLS
    20 LET L=10: LET C=15
    30 ... LET I=2
    40 PRINT AT L,C;"*"
    50 LET A ... $=INKEY$: IF A$="" THEN GO TO 50 ...
    WibbleBibble WibbleBibble August 2012 Sinclair Basic
  • Questions about BasicHi everyone, I am Max, student of media studies in berlin, and I have to do a little project on the spectrum. I am working on a sinclair zx spectrum…

    ... . I am working on a sinclair zx spectrum +2 ... dim a(10)
    let a(1)=7
    let a(2)=-3
    let a(3 ... of just adding: print a(1)+a(2)+a(3)

    a=val("hallo")
    a=val("15")
    ... :(

    10 Let a$="ux1000w0c&w1c&w2c ...
    lomax030 lomax030 December 2012 Sinclair Basic
  • Keyboard TrickI know how to use the multi key in BASIC with IN you can get the keys [QUOTE]IN 254+256*(255-2^K)[/QUOTE] K is the keyboard's half row, comes from …

    ... c = 0 to 7
    let a = 254+256*(255-2^c ... )
    let b = 191 - IN a
    if(b ... < 16)then let k(c ... > 16)then let b = b-16:let k(c+1,1 ... > 8)then let b = b-16:let k(c+1,2 ... > 4)then let b = b-16:let k(c+1,3 ...
    MKGplaymore MKGplaymore February 2013 Sinclair Basic
<1234567…34>

Latest Posts

  • Your Favorite Magazine Cover Tapes.
    Your Spec-chum on 2:19PM
  • Where to Buy the New or Fairly Recent , Excellent ZX Spectrum Games Software?
    Your Spec-chum on 1:34PM
  • i am currently listening to........
    mel the bell on 11:34AM
  • Mis-labeled cassette titles or a name change?
    harriusherbartio on 11:06AM
  • Ways to preserve Speccy Tapes in the loft
    harriusherbartio on 10:58AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 10:47AM
  • Minor British Sports that did become games on the ZX Spectrum
    harriusherbartio on 10:30AM
  • How to return to basic properly from ASM
    Paradigm Shifter on 1:54AM
  • 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

HitBox

Word Docs Hits
crisis 6.7K 7.4K
let 29.3K 51.6K
a 589.5K 1.7M

Related Threads

  • A Spectrum, a couple of felt tip pens and a lot of free time on Sunday afternoons...In my opinion the best part of having a Spectrum was drawing a game map of the latest Ultimate game in the back page of my geography text book thereb…
  • I NEED A HAND FINDING A 3D CHESS GAME......WITH A HAND IN ITOk.Firstly - It's not one of the chess games in the archive with the word chess in the title.<br /> ##(Although - The ChessMaster2000 LOOKS very fami…
  • HELP!!! i need help turning a .wav files into a .tzx. im a new beginnerhi there. i hope anyone doesnt think im thick or owt but im having trouble in find the right program or the know how to convert all my 8bit mono .wav…
  • Free to a good home - Anyone in South Wales want a pile of Spectrum Games and a +3?Bit of an emergency - I'm moving out in a hurry and I don't have time to sell these!<br /> <br /> Is there anyone in South Wales who wants a fairly b…
  • Let it Slow Let it Snow let it SnowWell, It's snowing here hard in the top left Corner of North Carolina.<br /> <br /> I heard that is it snowing hard in the UK also. My parents were s…
  • A clever method of using a single 8-bit register to be used for two things at a timeI don't know if this is the way the SAVE routine in the Spectrum works. Anyway, this is what I've learned today.<br /> <br /> I've been commented the…
  • Sinclair QL: I'm searching for a Gold Card (or better a Super Gold Card) and a Super HermesIf someone here want to sell his Super Gold Card and Super Hemes I'm a big collector of QL stuff and I will pay very very well.<br /> <br /> Very tha…
  • Trying to find a magazine entry for a program I wrote as a child!Hi, <br /> <br /> Back when I was a child I wrote a program called "milkround" that we published in either your spectrum, your sinclair or sinclai…
  • im looking for a basic routine that adds a numerical character to a stringim looking for a basic routine that adds a numerical character to a string. so a=1, "1", then a=0 "10", then a=1 "101......" and so on
  • How to separate a character from a number in a string?Hi <br /> I've been writing a kind of logo type program in BASIC that takes a string a$ from INPUT and then draws according to what you give it. Say…

Related Searches

  • print a char in asm
  • divmmc 3 a
  • testing a microdrive
  • create a batch file screen
  • change a letter
  • crisis
  • crisis screen
  • circle crisis
  • is there a system test for the spectrum
  • is there a system test tape for the spectrum
  • how to do a tzx file
  • how to create a tzx file
  • how to make a tzx file
  • composite screen goes yellow after a while
  • screen goes yellow after a while
  • validate input is a number
  • not a number
  • if input is not a number
  • let a poke print
  • for a 1 to let condition next

Copyright © 2024 World of Spectrum