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.116s
<1234567…34>
  • BASIC: Fast way of filling a string?Recently I decided to use string slicing to extract random numbers from a sequence in the one-liner Lottery picker: [quote] 20 RANDOMIZE : LET a$=""…

    ... to use string slicing to extract random numbers from a sequence in ... f=1 TO 49: LET a$=a$+CHR$ (f): NEXT f: FOR ... b=1+INT (RND*LEN a$): PRINT AT g-1,8 ... +((f-1)*3);" "( TO (CODE a$(b)
    Dunny Dunny November 2008 Development
  • Poking a string to memory...I'm looking to poke a string of characters including colour control codes to memory, I'm currently doing it by hand: 16,2,19,1,22,1,1,144 That equa…

    I'm looking to poke a string of characters including colour control ... />
    That equates to graphic 'A' in bright red ink at ... I do it by poking a string such as ...
    daveysludge daveysludge March 2012 Sinclair Basic
  • Overflow Detection while Scanning a Number from a StringI've got some strange behaviour from a subroutine that reads a number from a string and converts it to a 32-bit long. It's C's strtol if it helps to…

    ... behaviour from a subroutine that reads a number from a string and converts ... it to a 32- ... what about a representation of a base X number in a binary ... proving this:

    Let a = the running total, b = ...
    Alcoholics Anonymous Alcoholics Anonymous April 2012 Development
  • simplest method to pass a string to m/code?The statement "RANDOMIZE numvar+USR mc" is a simple way of passing a single numeric parameter to a m/c routine, as mc can retrieve numvar from the to…

    ... mc" is a simple way of passing a single numeric parameter ... doing the same for a string variable but haven't ... then a call to SCANNING to get the string details ... mc can obtain the string details from within the DEF ... up a location for the name of the string to ...
    Battle Bunny Battle Bunny April 2012 Sinclair Basic
  • 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

    im 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
    digital digital September 2015 Development
  • flash in a stringhi, is it possible to store flash in a string? u can store colours, bright, etc.

    hi,

    is it possible to store flash in a string? u can store colours, bright, etc.
    digital digital January 2017 Sinclair Basic
  • How to separate a character from a number in a string?Hi 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 you w…

    ... program in BASIC that takes a string a$ from INPUT and then draws ... from the current PLOT position a line up 20 then left ... character it reads in the string a$ is a number or char. Because ...
    ivanb303 ivanb303 May 2017 Sinclair Basic
  • Scrolling string variablesCan anyone help me with this for a program I'm writing on the spectrum. There was a command in speccy basic that would let you scroll a string variab…

    ... that would let you scroll a string variable left or right one ... it?
    eg
    LET A$="ABCDEFG"
    followed by this ... command would leave A$ then containing "GABCDEF" or " ... command might have been LET A$=A$+some expression, or something like ...
    Neil^P Neil^P December 2003 Games
  • String slicing for UDG definitionHey everyone. Got a bit of a string slicing/string to variable conversion problem. 10 let a$="01100110" 20 let pokevalue=???? What expression do I…

    ... />
    Got a bit of a string slicing/string to variable conversion problem ... .

    10 let a ... of the binary expression in a$?

    I ... VAL$ somewhere, but being a little rusty in the old ...
    BigBadMick BigBadMick April 2005 Development
  • Insane string of bad luckWhat a horrendous past 3 months. :cry: All my computers died (including WoS), 2 of my guinea pigs died, my holidays got canceled and tonight my DVD p…

    What a horrendous past 3 months. :cry:< ... crapped out.
    Surely such a string of bad luck was thought ...
    mheide mheide February 2008 Chit chat
  • OR in a IFHi guys, I have a string that is defined by the user. I want to have an IF that does something like IF string<> a OR b OR c THEN goto 10 Hope that m…

    Hi guys,
    I have a string that is defined by the ... that does something like IF string a OR b OR c THEN ... /> Also, how do you make a program automatically run when it ...
    Robin Robin February 2010 Sinclair Basic
  • A tidy loader for minigamesThe minigame competition doesn't permit the use of separate loaders like [code]10 LOAD "": RAND USR 32768[/code] The loader must be included in the b…

    ... br /> It uses two variables: a string variable contains all the machine ... USR
    6 97 a
    7 13 Carriage ... br /> 1018 65 Variable name (a)
    1019 0 Mantissa

    There's a way to squeeze out another ...
    ajmoss ajmoss June 2010 Development
  • Formula for creating a fixture listI'm writing a football management game with 20 teams in each division stored in a string array T$(1) to T$(20). However i can't figure out how to cr…

    I'm writing a football management game with 20 ... in each division stored in a string array T$(1) to T ... figure out how to create a fixture list where each team ...
    Rebelstar without a cause Rebelstar without a cause September 2010 Sinclair Basic
  • I didn't even get a job interview.I have been at the Citizens Advice Bureau for 2 years now. I'm one of the most experienced assessors (that's a fairly new role) there, and out of tho…

    ... and painstakingly learning to be a Money Advice Assistant. I ... would realise I already have a voluntary job.

    ... be 40 soon, I have a string of unskilled jobs behind me ... some qualifications at evening classes, A - level English, GCSE Astronomy, ...
    thx1138 thx1138 May 2011 Chit chat
  • Is it me, or is Sky Drive a fiddly bit of annoying rubbish?I shot a string of short movie clips today on my nokia lumia phone, all between 3 and 30 seconds long. Want to drag and drop the clips into my usual…

    I shot a string of short movie clips today ... uploads will make it, choses a slightly different thumbnail image to ... them first

    what a ball ache

    why ...
    thx1138 thx1138 July 2012 Chit chat
  • need a new method for m/c parameter assignmentI've been using a variable length function of the form: "FN a$(a$,a[,b...,z])=STR$ USR md" to search a data table and return a string result. By putt…

    ... of the form:
    "FN a$(a$,a[,b...,z])=STR$ USR md ... table and return a string result. By putting a string definition as the " ... be persuaded to return any string expression. This works but the ... which can be used wherever a string expression can be used.
    Battle Bunny Battle Bunny September 2012 Development
  • A Miscellany of Dangerous TipsHere's a selection of ideas for using some of the more obscure system variables which I've found handy on occasion. They can be very convenient if us…

    ... in the program as a hex dump DATA string, so that the ... the form "GO SUB FN a(a$,a,...)" where the FN just ... altogether. (Some programmers have a conniption at this point.) This ... storing mazes (Feb)
    * Poking a string to memory... (Mar)
    * Keyboard ...
    Battle Bunny Battle Bunny October 2012 Sinclair Basic
  • Saving a file and removing the title (Program:)I remember when saving a program how I could construct a string such as: 10 let a$=chr$ 8+ chr$ 8+"name" 20 save a$ In order to remove the "Program…

    ... when saving a program how I could construct a string such as:

    10 let a$=chr$ 8 ... $ 8+"name"
    20 save a$

    In order to ... the "Program:" title to display a different loading header.

    daveysludge daveysludge April 2013 Sinclair Basic
  • Help finding name/news of a string-like skin disease.A few years back I remember a few news reports on people developing these fine thread-like strings coming out of their skin. Haven't heard anything …

    ... back I remember a few news reports on people ... it proven that it was a hoax?
    ZnorXman ZnorXman August 2013 Chit chat
  • Decimal to Binary stringHi all, Anyone got a less labour intensive BASIC routine than this? Example:- take 170 and convert to a string "10101010" take 4 and convert to a s…

    ... br />
    Anyone got a less labour intensive BASIC routine ... /> take 170 and convert to a string "10101010"
    take 4 ... and convert to a string "00000100"

    I ... [code]
    # SUB - Binary string conversion, A=decimal input, s$ is the ...
    IanJ IanJ August 2014 Sinclair Basic
  • Recreated ZX Spectrum - something positive for a changeI've spend the last couple of hours mashing rubber keys and playing various Spectrum classics on a 42" TV, wirelessly. Despite the bad press that …

    ... playing various Spectrum classics on a 42" TV, wirelessly.
    < ... You'll be taken through a somewhat arcane procedure, but follow ... space key, and then enter a string of numbers. Do so, and ... has given good results, if a little sluggishly. Set your emulator ...
    Bad Horsey Bad Horsey July 2016 Hardware
  • How do you use CHR$ properly in a string ?So I trawled through the manual and found the bit on the character set. It says CHR$ 17 gives you paper control and CHR$ 16 gives you ink. But how do…

    ... example.
    I tried
    a$=CHR$ 17+CHR$ 6 + CHR ...
    ivanb303 ivanb303 May 2017 BASIC
  • is there a way of reading characters off the screen and turning that into a string? this has to be done in basic. i know it would have something to do with peeking memory (maybe screen memory) but would this change due to programs r…

    ... the cat command to program a commander in basic for the ...
    digital digital May 2018 Development
  • SpecBAS really needs a manual!That Word doc that I converted to an RTF for you Dunny and ASH-II, is still somewhat sparse. I spent bloody hours PLOT/DRAWing a landscape to steer m…

    ...
    SpecBAS can handle a number of graphic file formats ... br /> These commands all create a new graphic bank in memory ... that when supplying a “graphicstr$” (a graphic in a string, such as that ... incoming graphic. When creating a graphic bank by specifying ...
    mik3d3nch mik3d3nch August 2019 Sinclair Basic
  • how do i store a disk directory listing in +3 basic as a string?i cant seem to find anything in the manuals about this. the +3e system has a way of storing a stream as a variable for instance.

    i cant seem to find anything in the manuals about this. the +3e system has a way of storing a stream as a variable for instance.
    digital digital August 2020 Sinclair Basic
  • getting c nonsense in basic when trying to load a program through a string in +3 basicstrangely if i use load s$(to 8), it says nonsense in basic but works when i run it. but when i execute the command without a line no it works withou…

    strangely if i use load s$(to 8), it says nonsense in basic but works when i run it. but when i execute the command without a line no it works without an error. why is this?
    digital digital August 2020 Sinclair Basic
  • ZX PC Interface : The manual, schematics and more info... ZX &lt;-> PC Interface ------------------- Contents 1) The ZX &lt;-> PC Interface 1.1) What is it? 1.2) What does it do? 2) Install…

    ... the string.
    If only a ... E,O and C a string is needed!
    +-------+ +-+--+--+--+--+--+--+--+--+--+--+--+--+--+-+
    5 A A A A A A A A A D D D 0
    Dr BEEP Dr BEEP December 2002 Sinclair Miscellaneous
  • ZX PC InterfaceZX &lt;-> PC Interface Contents 1) The ZX &lt;-> PC Interface 1.1) What is it? 1.2) What does it do? 2) Installation 2.1) The softwa…

    ... a DIR of all files in the current directory.
    The string ... /> Note that a string must follow the ... |
    +-------+ +-+--+--+--+--+--+--+--+--+--+--+--+--+--+-+
    5 A A A A A A A A A D D D 0
    Dr BEEP Dr BEEP January 2003 Announcements
  • BASin Release 6 available for DownloadHi all - It's another cut'n'paste from CSS :) I've been tapping away again, and seeing as a couple of people have recently seen BASin's latest bits…

    ... /> Debug BASIC programs using a rather nifty (and under development ... that require a string input should have a checkbox which tells ... want to specify a string expression rather than a literal string.

    Added a Search window - you can ...
    Dunny Dunny June 2003 Emulators
  • Sinclair Basic compiler for PC?I know we all can use BASin to play for a while in a little window. But... What about creating a 80x86 EXE program from scratch using Sinclair Basic…

    ... BASin to play for a while in a little window.
    ... /> But... What about creating a 80x86 EXE program from scratch ... (), LET, SCREEN$, CODE, A$(x TO y), etc, we ...
    You could input a string like (1+2) and the ... I also particularly miss the A$(x TO y) thingie. ...
    Marcelo Marcelo September 2003 Sinclair Basic
<1234567…34>

Latest Posts

  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on 12:41AM
  • i am currently listening to........
    dmsmith on April 15
  • I am currently watching.....
    zx1 on April 15
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 15
  • Cooperative Games.
    harriusherbartio on April 15
  • Celebrity deaths...
    mel the bell on April 15
  • Minor British Sports that did become games on the ZX Spectrum
    dm_boozefreek on April 15
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 15
  • Inside No.9 favourite episodes
    Maroc's Other Projection on April 15
  • How we became brainwashed by social media
    Scottie_uk on April 15

HitBox

Word Docs Hits
reorder 45 49
a 589.5K 1.7M
string 2.8K 5.1K

Related Threads

  • 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…
  • 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…
  • 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…
  • Overflow Detection while Scanning a Number from a StringI've got some strange behaviour from a subroutine that reads a number from a string and converts it to a 32-bit long. It's C's strtol if it helps to…
  • 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…

Related Searches

  • print a char in asm
  • divmmc 3 a
  • testing a microdrive
  • create a batch file screen
  • change a letter
  • 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
  • inputting to a string array
  • detect a word string on the screen
  • colors in a string
  • attributes in a string
  • reverse a string

Copyright © 2024 World of Spectrum