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.004s
<1234567…34>
  • Multi Dimension String Arrays.Ok so I've been playing with Sinclair Basic though BASIN and I'm wanting to use multi dimension string arrays, if it is possible. I know what when a…

    ... wanting to use multi dimension string arrays, if it is possible ... array as follows.

    DIM n$(10,10)


    DIM m$ (10,10,10)
    Scottie_uk Scottie_uk August 2010 Sinclair Basic
  • From RAM to dim v$() "video buffer" SPEED UP!Hi! This question is related to "quick RAM copy using LET in Basic" ([url]http://www.worldofspectrum.org/forums/showthread.php?t=44296[/url]). Wel…

    ... :

    - v$(32*20) DIM variable for "video buffer".
    dim RAM position.


    string "video buffer" for paint whole ...
    Hark0 Hark0 March 2014 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…

    ... would let you scroll a string variable left or right one ...
    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…

    ... a bit of a string slicing/string to variable conversion problem.
    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…

    ... out.
    Surely such a string of bad luck was thought ...
    mheide mheide February 2008 Chit chat
  • 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$=""…

    Recently I decided to use string slicing to extract random numbers ...
    Dunny Dunny November 2008 Development
  • reading Hex[code]1 DIM a$(20,20) 2 DIM g$(16) 3 LET g$="\::\ \' \ '\ .\. \.:\:.\:'\':\''\..\: \ :\'.\.'" 4 BORDER 4 20 LET a$(1)="00000000000000000000" 21 LET …

    ... $(20,20)
    2 DIM g$(16)
    3 LET ... should be displayed in the string G$)

    so how ... the tenth char in the string g$

    Regards, Chop ...
    chop983 chop983 December 2008 Sinclair Basic
  • 2 questions about matrix and string handlingI was never good at understanding how to do something random in Sinclair Basic without repeating something that was already done. Had problems unders…

    ... way to randomly scramble the string?

    Second question. Let ...
    zxbruno zxbruno October 2009 Sinclair Basic
  • Dim commandI try o find a BASIC COMPILER for ZX SPECTRUM 128 that use DIM command with two or more letter as 10 DIM AB(10) instead of 10 DIM A(10) Any iforma…

    I try o find a BASIC COMPILER for ZX SPECTRUM 128 that use DIM command with two or more letter as
    10 DIM AB(10) instead of
    10 DIM A(10)

    Any iformation about it?
    mhanias mhanias December 2009 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…

    ... useful:

    [CODE]100 DIM i(4)
    110 LET ... ROUTINE
    9010 REM a$=String to Search
    9020 REM ... b$=Search String
    9030 REM i(1 ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Drawing a "window"...Hi Folks, I want to display a blank window over an existing screen. It then draws a border around it but that is not the point of my question. Ini…

    ... /> As you can see the string contains the PAPER and AT ... 2,0;c$
    150 DIM l$(1,82)
    160 ...
    Paddy Coleman Paddy Coleman June 2011 Sinclair Basic
  • Birthday PlotsHello all; When browsing the web, I stumbled across an oddity known as Birthday Plots. In effect somebody enters a numeric date and the computer prin…

    ... computer prints a rather random string-art type pattern. ([URL="http ... much appreciated.

    10 DIM R[15,2]
    20 ...
    Meurglys68 Meurglys68 July 2011 Sinclair Basic
  • 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 …

    ... can also use them with DIM:

    [code]
    20 DIM a$(100) STRUCT coord
    string variable, it can be ... just like a normal string (though be warned you ... be used with arrays - DIM a$(10) STRUCT mystruct[(default ...
    Dunny Dunny January 2012 Sinclair Miscellaneous
  • SpecBAS 0.724 Now available!Hi folks - Again, a new SpecBAS for you. Some stunning bugs made their way into the last one, so I had to get a new version out sharpish. And for o…

    Hi folks -

    Again, a new SpecBAS for you. Some stunning bugs made their way into the last one, so I had to get a new version out sharpish. And for once, you windows folks are at the bleeding edge :)

    Anyhoo, new features are few ...
    Dunny Dunny January 2012 Sinclair Miscellaneous
  • 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…

    ... order to locate each graphics string;
    * to print a background ... anywhere, even in a DATA string within the program code).
    20 LET num=2: DIM m(num+2,2): LET ...
    Battle Bunny Battle Bunny February 2012 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…

    ... 'm looking to poke a string of characters including colour control ... do it by poking a string such as A$?
    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…

    ... reads a number from a string and converts it to a ...
    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…

    ... doing the same for a string variable but haven't done ... to SCANNING to get the string details onto the calculator stack ... $): whereby mc can obtain the string details from within the DEF ... for the name of the string to be pointed to by ...
    Battle Bunny Battle Bunny April 2012 Sinclair Basic
  • SpecBAS 0.743 Now available!Hey Guys - SpecBAS has been updated again. A shedload of bugs have been fixed, and a couple of "just for fun" commands have been added! You all sa…

    ...
    Fixed a problem in DIM with fixed-length strings
    string slicing with a literal string and a single ... when using referred parameters in string-procedures
    Fixed a hang ...
    Dunny Dunny April 2012 Sinclair Miscellaneous
  • appending data while saving to tapeBefore trying to do this I just wanted to check if there's a possibility that it might actually work. I have a number of string arrays which I want t…

    ... . I have a number of string arrays which I want to ... to me, which is to DIM the arrays first thing so ... length of data + headers. The string data would be interspersed with ... the string array headers but that's ...
    Battle Bunny Battle Bunny September 2012 Development
  • SpecBAS 0.755 Now available!At last, here's the bugfixes you've all been waiting for! The last round of fixes which allowed proper error propagation in the file i/o routines re…

    ... PLAY now accepts a note-string as the RATE parameter, ie ... - BASE now works properly in DIM
    Fixed stack corruption in ...
    Dunny Dunny October 2012 Sinclair Miscellaneous
  • 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…

    ... with arrays / vectors:

    dim a(10)
    let a ... value of a integer or string, I don't know what ...
    lomax030 lomax030 December 2012 Sinclair Basic
  • Loading / Saving Data in VariablesHello there my fellow WoS'ers I was wondering if there was a way (in basic) where I could save variables like string / integer arrays? i.e. [cod…

    ... I could save variables like string / integer arrays?

    i ... .

    [code]
    10 DIM a$(5,13)
    20 ... DIM index(13)
    [/code]
    < ...
    Zetr0 Zetr0 March 2013 Sinclair Basic
  • SpecBAS 0.775 released!Hi all - me again :) SpecBAS has been updated again, and a whole load of new stuff has been added. Not many bugs fixed (none reported, and I only fo…

    ... one-dimensional arrays, you can DIM a=1,2,3,4 ... /> BASE$(value,base) returns a string of the number converted to ... contains the value specified (or string). SEARCH(array() NEXT) will return ...
    Dunny Dunny May 2013 Sinclair Miscellaneous
  • quick RAM copy using LET in BASICI'm in the process of reviewing, revising and refining all the programming tips & utility routines which I've posted on this forum over the last eigh…

    ... either a string expression (if referencing a string variable) or ...
    a$=destin string expression, or destin location ... /> 44 REM eg.: DIM S$(6912): GO SUB ... $
    45 DIM t$(2048): DIM s$(2048): GO ... br /> 44 LIST 45: DIM S$(6912):
    GO SUB ...
    Battle Bunny Battle Bunny July 2013 Sinclair Basic
  • DIM DATA and the likeSo...I'm trying to work out arrays in BASIC a bit more and have knocked up the following quick test bed to fiddle about with before trying anything m…

    ... REM array test
    40 DIM x(10)
    50 FOR ...
    Wookiee Wookiee January 2014 Sinclair Basic
  • GEDit syntax highlighting for Boriel's ZX BasicHi! I just tailored this syntax highlighting code and would like to share with he community. Suggestions are always welcome, though the file works w…

    ...
    cos
    declare
    dim
    do
    draw
    screen



    string
    byte
    ubyte
    pkersey pkersey February 2014 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…

    ... /> String splitting: DIM a$(SPLIT "my|test|string", NOT "|") will split the string into ... to a regular USING formatting string
    USING$ function - identical to ... parsed as a slicer
    String multiplication was occasionally incorrectly parsed ...
    Dunny Dunny February 2014 Sinclair Basic
  • DIM and FOR, NEXT loopHi there. I'm making a program with 100 items on screen using dim and a for next loop. The thing is, each time I want to manipulate the items I do an…

    ... 100 items on screen using dim and a for next loop ...
    davepierce07 davepierce07 May 2014 Sinclair Basic
  • 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…

    ... 170 and convert to a string "10101010"
    take 4 and ... convert to a string "00000100"

    I have ... />
    [code]
    # SUB - Binary string conversion, A=decimal input, s ...
    IanJ IanJ August 2014 Sinclair Basic
<1234567…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
dim 1.1K 1.8K
string 2.8K 5.1K

Related Threads

  • Scrolling string variablesCan anyone help me with this for a program I'm writing on the spectrum.<br /> There was a command in speccy basic that would let you scroll a string …
  • String slicing for UDG definitionHey everyone.<br /> <br /> Got a bit of a string slicing/string to variable conversion problem.<br /> <br /> 10 let a$="01100110"<br /> 20 let pokeva…
  • Method to read byte as binary string rather than dec?Hi all<br /> <br /> Am fiddling around with the screen buffer and have written a routine to scan the screenbuffer into upper ram and then write it ba…
  • Insane string of bad luckWhat a horrendous past 3 months. :cry:<br /> All my computers died (including WoS), 2 of my guinea pigs died, my holidays got canceled and tonight my…
  • 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:<br /> <br /> [quote]<br /> 20 RAN…
  • 2 questions about matrix and string handlingI was never good at understanding how to do something random in Sinclair Basic without repeating something that was already done. Had problems unders…
  • Dim commandI try o find a BASIC COMPILER for ZX SPECTRUM 128 that use DIM command with two or more letter as <br /> 10 DIM AB(10) instead of<br /> 10 DIM A(10)…
  • Multi Dimension String Arrays.Ok so I've been playing with Sinclair Basic though BASIN and I'm wanting to use multi dimension string arrays, if it is possible.<br /> <br /> I know…
  • 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:<br /> <br /> 16,2,19,1,22,1,1,14…
  • 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…

Related Searches

  • dim input
  • dim from input
  • dim variable size
  • dim size
  • ld bc eostr string
  • reorder a string
  • change characters in string
  • dim shoot em up
  • dim routine
  • inputting to a string array
  • detect a word string on the screen
  • dim
  • hex to dez string
  • colors in a string
  • attributes in a string
  • dim data
  • string
  • reverse a string
  • random string
  • dim string

Copyright © 2024 World of Spectrum