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.005s
<1…11121314151617…34>
  • Speeding up programs by hacking the SysVarsPositively pleased to properly discover this area of the forum! I have a couple of recent tricks that might be of interest - they're probably old hat…

    ... multiple copies of the same variable name?[/quote]

    The ... +9 if it was a string function, to skip over the ...
    Battle Bunny Battle Bunny September 2016 Sinclair Basic
  • User defined function in Sinclair BASICI'm looking to create a user defined function in Sinclair BASIC to add up numbers being input. This is the program without a user defined function be…

    INPUT a$ treats the variable a$ as a character or a string. You need to use INPUT a . In this case a is a number
    ivanb303 ivanb303 February 2017 BASIC
  • "ZX80 Brain" RPN CalculatorIt is at times like [url=https://www.worldofspectrum.org/forums/discussion/54176/depression]when threads such as this are posted[/url] that I get the…

    ... very small decimal in the string that the number display can ... to print VAL of the string.
    - no exponent key, but ... a separate part of a string called f$ and a numerical ... it does not recognise the variable OT = ((s(1)+(PI/2 ...
    The Mighty Dopethrone The Mighty Dopethrone March 2017 Sinclair Basic
  • z88dk : Support FunctionsJust a quick one here, I am looking to doing some dirty dirty code with C and load a screen$ file from the disk using "system( command )" - yes I …

    ... br /> [/quote]

    The string manipulation and sorting of files ... Setting the value of basic string variables can be done from ... the notes that if the variable is not declared in basic ... and appending to a basic string initialized to "" (which will ...
    Alcoholics Anonymous Alcoholics Anonymous June 2017 Development
  • How to improve my program using oversized numbersI'd like my dice program to print out the number four times bigger than normal if possible. Anyone know how to do this? Or I could write a sub rou…

    ... the number graphics within one string and slicing out the parts required ...
    MatGubbins MatGubbins July 2017 BASIC
  • Serious facts about the ZX Spectrum Serious fact Number 1: It is a business machine. From an article about and interview with Sir Clive ( by Mike Cowley) Sir Clive says here:-"Nor…

    ... /> As was the Spectrum BASIC string slicing :D
    The worst thing ...
    1024MAK 1024MAK July 2017 Hardware
  • Need Some Basic HelpHi all, I’ve decided to give programming in Spectrum Basic a go again (bit of nostalgia trip!) and I’m trying to develop a CYOA style game. How…

    ... routine to print a given string at current text coords passing ... the index of the string in SPARE2 system variable at 23728 $5CB0 ...
    dbolli dbolli March 2018 Sinclair Basic
  • Need Some Basic HelpHi all, I’ve decided to give programming in Spectrum Basic a go again (bit of nostalgia trip!) and I’m trying to develop a CYOA style game. How…

    ... (initially empty) DATA string. (RESTORE points system variable DATADD to the byte ...
    Battle Bunny Battle Bunny April 2018 Sinclair Basic
  • Okay so can you save text as a data array ?So I was playing with this but I'm obviously not doing this correctly. [code] 10 INPUT "Enter some text: ";a$ 20 PRINT a$ RUN [/code] Now i'm…

    ... an array, it's a string. You need to dimension an ... $(10) for example. Dimensioning a string array like that will cause ... Sinclair BASIC doesn't do variable length arrays.
    AndyC AndyC April 2018 Sinclair Basic
  • Printing text, part MMXIIXI'm pretty sure there's been a zillion threads about this already, and I don't think it's the first one by myself either, but here goes. Proportiona…

    ... ) = i 2 -> local memory variable
    ; -9(ix) = pixofs 11 ... (ix)
    ; copy of the string start pointer:
    ld (drawstrings_local_as ... ix, (drawstrings_local_as) ; start ix from string start

    ; get ...
    Sol_HSA Sol_HSA December 2018 Development
  • Brain 8I am glad to present my new "experiment" in Sinclair Spectrum 48K BASIC. https://drive.google.com/file/d/17_wCFWaAl5diIVt3rPLTbKhxDmPmYmOs/view?us…

    ... "]. Is LET i$( TO )="string" semantically any different from LET ... i$()="string"?
    . Why do you ... Artillery landscape as a multidimensional string array as opposed to ... variables area or VARS system variable.

    Let me ...
    IvanBasic IvanBasic April 2019 Brand new software
  • How much can you get into 48k?Todays experiment was to see how long, how much text, a PRINT statement will hold. I filled it up with * and counted them and got 689 chrs. Almost 22…

    ... running it has to allocate variable space again for the text ... you put your text in string variables. You could of course ...
    dmsmith dmsmith August 2019 BASIC
  • Have you got a project or are doing anything interesting during lock down?I’m “having” “fun” cutting shapes in wall tiles to fit around the electrical switches, sockets and heating/boiler control box in the utility room. …

    ... troubling you is it the string slicing?
    dmsmith dmsmith April 2020 Chit chat
  • Have you got a project or are doing anything interesting during lock down?I’m “having” “fun” cutting shapes in wall tiles to fit around the electrical switches, sockets and heating/boiler control box in the utility room. …

    ... I'm okay with the string slicing since Dunny explained it and ...
    mik3d3nch mik3d3nch April 2020 Chit chat
  • How to write a simple C+asm horizontal scrolling game (Tutorial, z88dk)[b]How to write a simple C/asm horizontal scrolling game[/b] [b]Note:[/b] This tutorial has multiple parts... I am still writing but this first pa…

    ...
    In "char y;", a variable is declared. Other than that ... also declare this game_over variable, and use it to ... 'll have to print a string.

    And ... , one to print a string, and one to convert ... an integer to a string.

    [b] ...
    Timmy Timmy September 2020 Development
  • How to write a simple C+asm horizontal scrolling game (Tutorial, z88dk)[b]How to write a simple C/asm horizontal scrolling game[/b] [b]Note:[/b] This tutorial has multiple parts... I am still writing but this first pa…

    ... the game.

    The variable score_str is used to store ... display it. Note that this string is 15 characters long, even ... />
    [b]E2) Printing a string[/b]

    This part ... updates the "00000" inside the string into that score number.
    Timmy Timmy September 2020 Development
  • CSSCGC 2021: 25th edition extravaganza![img]https://csscgc2021.files.wordpress.com/2020/12/yellow_programmer_960x600.png[/img] [url=https://www.rickdangerous.co.uk/csscgc2021/][b][size=…

    ... as it has no string arrays or string slicing functions...

    MUSH ...
    The Mighty Dopethrone The Mighty Dopethrone July 2021 Games
  • Who's NEXT?How about having a category just for Spectrum NEXT owners? I got mine on Monday, its the original issue, plain jane and quite enough for me to ge…

    ... assign a number to a string you need to use STR ... (assuming s is a numeric variable, you'll need LET N ...
    Paradigm Shifter Paradigm Shifter September 2021 Sinclair Miscellaneous
  • Strongest aspect of Spectrum BASICWhat would you say is the strongest aspect of Spectrum BASIC compared to other BASICs on other micros at the time. I think it might have been the Fun…

    The way that string slicing worked was much easier to ...
    1024MAK 1024MAK March 2022 Sinclair Basic
  • Strongest aspect of Spectrum BASICWhat would you say is the strongest aspect of Spectrum BASIC compared to other BASICs on other micros at the time. I think it might have been the Fun…

    Spectrum string slicing is a lot like Python slicing nowadays; a$(3 TO 5 ...
    i love the z80s i love the z80s March 2022 Sinclair Basic
  • Taper / WinXP /SB ProbsDoes anyone know how I can get Taper to recognise my SB Live soundcard under Windows XP. The readme.txt mentions the BLASTER environment variable bu…

    Does anyone know how I can get Taper to recognise my SB Live soundcard under Windows XP. The readme.txt mentions the BLASTER environment variable but mine is missing?
    Choccy Choccy February 2002 Emulators
<1…11121314151617…34>

Latest Posts

  • Minor British Sports that did become games on the ZX Spectrum
    dmsmith on April 22
  • I bought an accoustic guitar. How do you play it?
    Maroc's Other Projection on April 22
  • Goodbye Z80
    moggy on April 22
  • Happy 40th Birthday to the Amstrad CPC464!
    AndyC on April 22
  • Another Birthday! The Game Boy Is 35!
    dm_boozefreek on April 22
  • I am currently watching.....
    Antiriad2097 on April 22
  • European Software Titles with an English version
    harriusherbartio on April 22
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on April 22
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 22
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21

HitBox

Word Docs Hits
slicing 122 155
string 2.8K 5.1K
variable 2.8K 4.2K

Related Threads

  • 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…
  • 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…
  • Character set variableCan anybody help me?<br /> I'm trying to find out where the pointer to the ascii character set is.<br /> I remember that if you wanted to change the …
  • 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 …
  • 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…
  • I forgot which system variable I need...... to prevent the message 'start tape, then press any key'. I saw the system variables list but it's not helping. I know I used one poke to bypass t…
  • 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…
  • CHANS system variableI modified my original code to incorporate Woody's changes and avoid using the stack:<br /> <br /> [code]<br /> org 60000<br /> <br /> save_register…
  • 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…

Related Searches

  • variable list
  • dim variable size
  • scroll system variable
  • issue 2 variable
  • ld bc eostr string
  • reorder a string
  • change characters in string
  • replacement variable capacitor
  • replace variable resistor
  • draw basic third variable
  • draw third variable
  • draw third variable geoff
  • inputting to a string array
  • detect a word string on the screen
  • assembly forgot variable
  • assembly variable
  • basic variable clear
  • hex to dez string
  • colors in a string
  • slicing strings variable

Copyright © 2024 World of Spectrum