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

    ... and convert to a string "10101010"
    take 4 and convert to a string "00000100"
    to TAP but there's certain ... /> [code]
    # SUB - Binary string conversion, A=decimal input, s$ is the ... br /> 1040 FOR l=126 TO 0 STEP -1
    1050 ...
    IanJ IanJ August 2014 Sinclair Basic
  • why cant i do this in a dimensional array?let m$(20)=m$(20)+"hello" it wont add it to the string/array m$(20)

    let m$(20)=m$(20)+"hello"

    it wont add it to the string/array m$(20)
    digital digital December 2017 Development
  • SpecBAS 0.802 Released!Hi folks - It's that time again when I release the latest round of features and bugfixes to SpecBAS :) New for this version are ZONEs which act ver…

    ... JOIN$ function takes a string array and a separator - LET b$=JOIN$(a$()," ") will compile ... similar to a regular USING formatting string
    USING$ function - identical to PRINT ... /> Adding an extra index to a string array reference wasn't parsed as ...
    Dunny Dunny February 2014 Sinclair Basic
  • SpecBAS 0.844 releasedHi all - it's been a while... Having some unexpected extra time off work, I've been able to get some work done on SpecBAS and it's now a bit more …

    ... /> Assigning a string to a sliced string array member works properly now
    Assigning a value to a string array member ... is disallowed properly this time
    Assigning to an associative array ...
    Dunny Dunny May 2015 Sinclair Basic
  • +3e file manager program/projectFirstly let's get one thing sorted. This program/project is written entirely in basic, as I am a lamo who doesnt know enough M/C. It really Is'nt th…

    ... is another solution to the problem. Open a stream to memory, and the ... can send the output to a string array, which is easier to handle in BASIC ... ,l[/B]
    [B]PRINT a$( TO l)[/B]
    [B]CLOSE ... of data that was written to the string into the variable [B ...
    glancaster glancaster April 2006 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. …

    ... it frustrating that once a sting is moved to a string array it becomes fixed ... length and you loose the ability to ... LET b$(1)=CHR$(LEN a$)+a$
    140 PRINT CODE ... is much easier than trying to calculate the length at ...
    Paddy Coleman Paddy Coleman September 2010 Sinclair Basic
  • Arrays in BASICHi so I'm making this crappy game and I wanna store the screen positions of some UDGs in in a 50x2 array cause I have 50 characters. So I made the ar…

    ... be faster just a bit harder to use. But fast ... is not bad thing thanks a ... to be useful). If you want to still use an array ... but save memory then switch to a string array ... values you use CODE A$(POSITION).

    ...
    Paddy Coleman Paddy Coleman October 2016 Sinclair Basic
  • Arrays in BASICHi so I'm making this crappy game and I wanna store the screen positions of some UDGs in in a 50x2 array cause I have 50 characters. So I made the ar…

    ... would be faster just a bit harder to use. But fast is ... prove to be useful). If you want to still use an array but ... save memory then switch to a string array can ... because it takes less bytes to hold a character than a number ?
    ivanb303 ivanb303 October 2016 Sinclair Basic
  • 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 codes to memory ...

    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
  • 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…

    ... of doing the same for a string variable but haven't done ... stack and then a call to SCANNING to get the string details onto the ... to set up a location for the name of the string to be pointed to ...
    Battle Bunny Battle Bunny April 2012 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…

    ... that takes a string a$ from INPUT and then draws according to what you ... 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
  • 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$=""…

    ... decided to use string slicing to extract random numbers from a sequence in ... RANDOMIZE : LET a$="": FOR f=1 TO 49: LET a$=a$+CHR$ (f ... ): NEXT f: FOR g=1 TO ... (g);":": FOR f=1 TO 6: LET b=1+INT ... a$): PRINT AT g-1,8+((f-1)*3);" "( TO (CODE a ...
    Dunny Dunny November 2008 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 ... each division stored in a string array T$(1) to T$(20). However i ... can't figure out how to create a fixture list where each ... clever Wossers will be able to help!
    Rebelstar without a cause Rebelstar without a cause September 2010 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…

    ... from a subroutine that reads a number from a string and converts it to a 32 ... zeroes. So adding a number from 0 to 2^n-1 cannot ... my brain seems a bit soft so over to you.


    Edit: It amounts to proving this:

    Let ...
    Alcoholics Anonymous Alcoholics Anonymous April 2012 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
  • Can I convert a sna to a real tape ?Hi I just want to know if there is a way to convert a spectrum files for emulator to a real tape that I can load to my real spectrum. Or convert a r…

    Hi
    I just want to know if there is a way to convert a spectrum files for emulator to a real tape that I can load to my real spectrum. Or convert a real zx files to the emulator ?
    Thanks
    Amit Amit October 2001 Emulators
  • Which expansions can I attach to a +2A?I have several peripherals that I would like to connect to a +2A: an Interface 1 with Microdrive, a +D disk interface and kempston joystick interface…

    ... that I would like to connect to a +2A: an Interface ... 1 with Microdrive, a +D ... the chassis with respect to a 48k. But would they ... mentioned anything about expansions for a +2A...

    to damage them... [img]/__forums ...
    Alessandro Tommasi Alessandro Tommasi March 2001 Sinclair Miscellaneous
  • Connecting a data recorder to a +2A?I have a +2A Spectrum, and getting increasingly frustrated by the unreliable built-in data recorder, I decided to start using an external one. I got…

    ... data recorder, I decided to start using an external ... but I can't seem to get it connected properly. ... it actually possible to connect a data recorder to a +2A, or is ... it only designed to ... use the built-in one? Maybe I need a ...
    Queen Frostine Queen Frostine November 2002 Games
  • Adding chips to a 128k SpeccyI thought I rememberd reading somewhere once that you can add a second AY sound chip to a speccy. Is this true? And if so, why?

    I thought I rememberd reading somewhere once that you can add a second AY sound chip to a speccy.

    Is this true? And if so, why?
    The Starglider The Starglider September 2004 Sinclair Miscellaneous
  • A View to a Kill - Spin Emulator (Problem)Hi, I downloaded A View to a Kill from the Spectrum Archive and I'm trying to get it to work using the Spin emulator. However, it starts off fine b…

    Hi,

    I downloaded A View to a Kill from the Spectrum Archive ... and I'm trying to get ... the Spin emulator seems to make it run a lot faster than ... then it just returns me to a gray screen that says (at ...
    Guybrush Guybrush February 2006 Emulators
  • Speccy to a PC monitorI?m sorry, this surely was here few times here... but what?s the way for plugging Speccy to a PC monitor? I don?t want to buy a new TV, so if I could…

    I?m sorry, this surely was here few times here... but what?s the way for plugging Speccy to a PC monitor?
    I don?t want to buy a new TV, so if I could try it with monitor I have...
    de Vandemar Croup de Vandemar Croup February 2006 Sinclair Miscellaneous
  • Loading from XP to a real spectrum.Is it possible using the output from a soundcard of an XP box to load programmes to a real spectrum?

    Is it possible using the output from a soundcard of an XP box to load programmes to a real spectrum?
    nkarytia nkarytia June 2006 Emulators
  • 41 Crash mags - free to a good home (Australia)I'm having a clear out and the following Crash magazines have to go. Their condition is a bit variable, all have seen some wear and tear, but all ar…

    ... having a clear out and the following Crash magazines have to go ... .

    Their condition is a bit variable ... still readable.

    Free to a good home, from Sydney Australia ...
    Fred Fred August 2007 Sales
  • View to a KillThe Crash review link points to a Dun Darach review.

    The Crash review link points to a Dun Darach review.
    beanz beanz October 2007 Infoseek database
  • joust in to a movie?any one read on retro gammer that they are adapting the game joust in to a holliwood big budget movie??? of all the games...

    any one read on retro gammer that they are adapting the game joust in to a holliwood big budget movie??? of all the games...
    VanTammen VanTammen October 2007 Games
  • 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! Is there anyone in South Wales who wants a fairly big pile of s…

    ... I don't have time to sell these!

    ... in South Wales who wants a fairly big pile of ... spectrum games and is able to pick them up one of ... this week?

    Free to a good home - You are just ... />
    I also have a WHSmiths tape recorder which is ...
    thingley thingley January 2008 Sales
  • How to add speech to a program?Is it possible to add speech to a machine code program? And with possible I mean with relative ease. Hardware could be 128k. Is there some utility …

    Is it possible to add speech to a machine code program? And with possible I mean with relative ease. Hardware could be 128k.

    Is there some utility around to record something and then be able to play it from inside a program?
    Rickard Rickard January 2008 Development
  • What audio cable do I need to connect a ZX-81/Timex Sinclair to a cassette recorder?Subject line says it all: What audio cable do I need to connect a ZX-81/Timex Sinclair to a cassette recorder? Paul

    Subject line says it all: What audio cable do I need to connect a ZX-81/Timex Sinclair to a cassette recorder?

    Paul
    Paul Panks Paul Panks May 2008 Sinclair Miscellaneous
  • Microdrive CATIs there a way in Basic to obtain any more useful info on the contents of a Microdrive? File size, head info for example? Also, is it possible in ge…

    Is there a way in Basic to obtain any more useful info ... on the contents of a ... possible in get a CAT of a drive into a string array? Or read it ...
    gcallard gcallard June 2008 Sinclair Basic
<1234567…34>

Latest Posts

  • European Software Titles with an English version
    harriusherbartio on 12:06PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 11:21AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 11:01AM
  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade 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
  • 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

HitBox

Word Docs Hits
inputting 70 76
to 549.6K 1.6M
a 589.5K 1.7M
string 2.8K 5.1K
array 1.7K 3.2K

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…
  • Alternative to Poke 23659,0 to prevent a 'break in' to a Basic Program.Good morning everyone,<br /> <br /> My memory fails me these days but in the early days of programming I used to use Poke 23659,0 as a crude way of…
  • 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…
  • What audio cable do I need to connect a ZX-81/Timex Sinclair to a cassette recorder?Subject line says it all: What audio cable do I need to connect a ZX-81/Timex Sinclair to a cassette recorder?<br /> <br /> Paul
  • Fastest way to decide which pixel to paint in order to draw a straight line(after I saw "Bresenhams circle algorithm" in development forum, I decided to ask this in here)<br /> <br /> in fact, I want to accelerate a car towa…
  • Is there any way to connect a zx spectrum to a modern PC ?Hello<br /> <br /> Is there any easy( I don?tknow anything about computing)way to connect a Spectrum to a modern PC?<br /> <br /> The same question n…
  • How to connect a computer monitor to a Spectrum ?Is it possible to connect a computer monitor to a Spectrum 48K ?<br /> An how to do it. What is needed ?<br /> Reason: I live in Denmark and here you…
  • Now seems to be a good time to add to your collectionsI have bought a few spectrum items to add to my collection recently, had i bought them a year or two ago they would have cost double. This is one of …
  • 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…

Related Searches

  • how to do a tzx file
  • how to create a tzx file
  • how to make a tzx file
  • copy a file to dsk image
  • how to load from pc into a 48k
  • use a joystick to control esxdos
  • reorder a string
  • how to download a video your post
  • how to post a video
  • trying to find a game
  • connecting to a monitor
  • a message to all the devs in this section
  • inputting to array basic
  • writing text to an array
  • detect a word string on the screen
  • a prelude to chaos
  • adding music to a g d
  • how to make a diagnostic rom
  • how to load a tape in 3
  • how to be a hero

Copyright © 2024 World of Spectrum