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

    ... (or at least, the larger strings). This program would MERGE the ... the lines that generates the strings except the MERGE line itself ... your (new) program. The strings will be there, but there ... array with the strings. But accessing a single string variable might be ...
    Paddy Coleman Paddy Coleman June 2011 Sinclair Basic
  • binutils questionSince there's a few people using binutils these days I thought I'd give it a go and see whether it solves my hunt for a replacement assembler/librari…

    ... placement of a lastk char variable on top of the system ... variable to read lastk as a ... to merge strings together if some strings are substrings of longer strings. z88dk ... />
    printf(""%s %c", strings[2], strings[2][3]);
    [/code]
    Alcoholics Anonymous Alcoholics Anonymous July 2011 Development
  • Can anyone see a way to speed up the following line of code?Hi Folks, Been looking at bottle necks in my code using BASin's Profiler and the following line (well the 2nd LET statement) is somewhat slow. [COD…

    ... is the amount of variable to search trough. In ... program builds up the variable row in memory. The ... .
    Further, longer variable take more time as well ... br /> As for comparisons with strings the rules seems to be ... If not, then use a variable
    3) If not ...
    Paddy Coleman Paddy Coleman July 2011 Sinclair Basic
  • binutils questionSince there's a few people using binutils these days I thought I'd give it a go and see whether it solves my hunt for a replacement assembler/librari…

    ... of a lastk char variable on top of the ... system variable to read lastk as ...
    [code]
    char **strings = {
    "make it so",
    printf(""%s %c", strings[2], strings[2][3]);
    [/code]
    But **strings is not the same as ...
    Timmy Timmy July 2011 Development
  • z88dk hates me =(Hello there my fellow WoS'ers Under the power of darkness I was about to settle in and play with some SP1 sprite handling (as printf is simply NOT f…

    ... are reading the LASTK system variable).

    SP1 is a ... looking at the stdlib and strings code instead -- itoa, strcat, etc ... -- to form text strings. I saw you were using ... delimited strings so strtok may be useful ...
    Alcoholics Anonymous Alcoholics Anonymous August 2011 Development
  • Display half a screenWorking in 128 Basic and saving screens to memory via - SAVE! "image" SCREEN$ . Is it possible to display just the top half (or the bottom half) of t…

    ... as a string variable and then using string slicing to select the ...
    Battle Bunny Battle Bunny October 2011 Sinclair Basic
  • DATA vs PRINT and OVERjust messing about and came across this alternative way of drawing a map....now before I start mucking about with my actual program.....is there any …

    ... slower than straight PRINTs. Having strings in DATA statements does have ... obvious uses, as the system variable DATADD (PEEK 23639+256*PEEK ... 23563+256*PEEK 23564) secondary variable area to treat the DATA ...
    Battle Bunny Battle Bunny February 2012 Sinclair Basic
  • Copying a SCREEN$ in ZX BASIC in 1 second?!Following on from the revived "[thread=20207]Saving a complete SCREEN$ in BASIC[/thread]" thread (although Arjun really only needed a suitable POKE i…

    ... differently and doesn't call SLICING for the destination, thus giving ... , which would entail reclaiming the variable's header & value in ...
    Battle Bunny Battle Bunny February 2012 Sinclair Basic
  • Copying a SCREEN$ in ZX BASIC in 1 second?!Following on from the revived "[thread=20207]Saving a complete SCREEN$ in BASIC[/thread]" thread (although Arjun really only needed a suitable POKE i…

    ... differently and doesn't call SLICING for the destination, thus giving ... , which would entail reclaiming the variable's header & value in ...
    Paddy Coleman Paddy Coleman February 2012 Sinclair Basic
  • LZ77 en/decodingI've written an LZ77 en/decoding routine as I couldn't find one around for the Spectrum. Initially I'm just doing it in BASIC to get the logic right.…

    ... "next nnnnn bytes" counter with variable length blocks rather than a ... what appear to be text strings, which would fragment the encoded ...
    Battle Bunny Battle Bunny March 2012 Development
  • type-ins in zmakebas formati were about coding some type-ins from MicroHobby magazine, and found that there are 'semanal' tape series available at http://www.worldofspectrum.or…

    ... //

    To specify a variable saved with the BASIC at ... />
    Where v is the variable name (a$, a etc). Type ... /> NumArray(), StrArray(), NumFOR.

    Strings would be Quote (") delimited, with ...
    Dunny Dunny March 2012 Support files
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... fairly good characteristics given the variable size items. I do have ... ,strcasecmp_callee ; use caseless comparison of strings
    call asm_qsort


    ld l,a ; both strings ended simultaneously
    ld h ...
    Alcoholics Anonymous Alcoholics Anonymous June 2012 Development
  • More memoryHi all... can anyone help, Is it possible to get more memory for basic pref' in Basin.... 40 odd k is just not enough !

    ... "complete simple strings" where the space allocated to the variable may change ... a new copy of the variable and the old space reclaimed ... : PRINT INVERSE 1;"SEARCH FOR VARIABLE"; INVERSE 0;": of Type:"':
    Battle Bunny Battle Bunny November 2012 Sinclair Basic
  • Project on ZX Spectrum in UniversityHi 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…

    ... /> VAL$ instead treats a text variable like a string. Therefore:
    5. C's in music strings might be lower case as ...
    Alessandro Grussu Alessandro Grussu December 2012 Announcements
  • Screens and BasicA question about the ZX screens. I am using software to convert my own art and drawings to the ZX Spectrum. I have some tools to change .jpg files in…

    ... 3 characters wide or 30 (variable cc), and does it reasonably ... location pointer into s$(). Both strings would be set up separately ...
    Battle Bunny Battle Bunny February 2013 Sinclair Basic
  • Keyboard scanning routines / techniques?What keyboard scanning routines or techniques do people use? I'm looking to write something which doesn't rely on the ROM-based keyboard scanner, an…

    ... , with features such as time-slicing through thread preemption, relocatable executables ... /d/u formats), char and strings.
    5) Write a program ...
    u6c87 u6c87 May 2013 Development
  • handy method for passing m/c parametersI knew that a single number or string parameter could be passed to a m/c routine with either: [b]LET a=b+USR address[/b] puts b on the calculator st…

    ... $ is just a throw-away variable, as it gets the BC ... use that method for short strings, when the returned value wasn ...
    Battle Bunny Battle Bunny May 2013 Sinclair Basic
  • The Official Crap Games Competition 2013 Thread!Just to announce that the 2013 CGC is OPEN! [IMG]http://i1142.photobucket.com/albums/n608/daveyboyhughes/cgctitle2_zps77591934.jpg[/IMG] And for th…

    ... hacks like use a string variable and encode row and column ... that arrays of variables (not strings) are 5 bytes per element ...
    Paradigm Shifter Paradigm Shifter July 2013 Games
  • Full 16*16-digit BASIC multiplicationI liked Andre Adrian's 32-bit long multiplication routine so much that I decided to a decimal version. After all, 2^63 is only 9223372036854775808, a…

    ... as numbers or strings. The variable names can be ... inc hl ;skip over next variable letter
    ret
    ld de,STRINGS
    call FIND
    Variable not found
    inc ...
    Battle Bunny Battle Bunny July 2013 Sinclair Basic
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ...
    call sa_v_old_1 ; exclude simple strings
    jr z, sa_data_1 ;
    variable
    ld a, (hl) ; store ... bytes
    inc de ; for variable name
    inc de ; and ...
    chev chev October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... /> res 6, c ; signal handle strings as numeric
    call stk_var ... /> call next_one ; start of next variable
    call reclaim_2 ; reclaim existing ...
    chev chev October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... br /> call look_vars ; variable exists?

    ; THE 'VARIABLE IN ASSIGNMENT' SUBROUTINE ... system variable
    or (hl) ; set bit 0 for simple strings
    push af ; stack system variable
    call scanning ; evaluate expression ...
    chev chev October 2013 Development
  • Documentation for SP1 for Z88DK?(I was going to post in [URL="http://www.worldofspectrum.org/forums/showthread.php?t=11729"]the other thread[/URL], so if a mod thinks this should go…

    ... it doesnt need the TICKS variable anymore like you said

    // Attach C Variable to Sprite Graphics Declared in ...

    You can print strings to the screen on the ...
    slenkar slenkar November 2013 Development
  • Writing faster BASICIn terms of structuring BASIC programs, what are the best ways allocate variables, functions, arrays? Any tips. I remember INPUT mag had some suggest…

    ... every reference to a variable (or function) involves a ... numeric arrays and DIMmed strings/arrays. It's of ... no use for simple strings as for them a ... be reclaimed and the variable redeclared at the end ... a FOR...NEXT control variable just use "FOR a ...
    Battle Bunny Battle Bunny December 2013 Sinclair Basic
  • Writing faster BASICIn terms of structuring BASIC programs, what are the best ways allocate variables, functions, arrays? Any tips. I remember INPUT mag had some suggest…

    ... that every reference to a variable (or function) involves a sequential ... DIMmed numeric arrays and DIMmed strings/arrays. It's of no ... use for simple strings as for them a LET ... to be reclaimed and the variable redeclared at the end of ...
    dmsmith dmsmith December 2013 Sinclair Basic
  • Graphics questionHello. I was wondering, does anybody here know of a method to display a large (as in, the better part of the screen) bitmap/raster image using ZX Sp…

    ... though it was a string variable.

    [list]
    [*]Declare ... /> With caution, string functions and slicing can be used in the ...
    Battle Bunny Battle Bunny December 2013 Sinclair Basic
  • analysing program variable usageIf I wanted to count the number of times each variable is referenced while a program is running (not the number of times each variable is referenced …

    ... of decreasing frequency. Counts for strings may be in two parts ... the total count for the variable (eg. w$ was accessed by ...
    Battle Bunny Battle Bunny August 2014 Sinclair Basic
<1234567…34>

Latest Posts

  • European Software Titles with an English version
    harriusherbartio on 9:50AM
  • Cooperative Games.
    harriusherbartio on 9:27AM
  • Happy 40th Birthday to the Amstrad CPC464!
    zx1 on 9:02AM
  • i am currently listening to........
    Paradigm Shifter on 12:26AM
  • Celebrity deaths...
    mel the bell on April 16
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 16
  • How we became brainwashed by social media
    Antiriad2097 on April 16
  • How Do You Categorize Your Speccy Software and Games?
    Antiriad2097 on April 16
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 16
  • I am currently watching.....
    zx1 on April 15

HitBox

Word Docs Hits
slicing 122 155
strings 1K 1.4K
variable 2.8K 4.2K

Related Threads

  • 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 …
  • 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…
  • 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…
  • 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…
  • How do I know where my C compiler is putting my variable?Let me show you my code. I am writing a Z80 emulator (z80.c) which sets up a bit of shared memory for communication with another process. Well, I got…
  • Location of variableHi everyone<br /> <br /> When basic makes an array how to you find out the location in the ram of where the data is stored. :)<br /> <br /> Also, doe…
  • Variable resistorI have a problem with my speakers - the treble is much much too quiet in comparison to the bass. Or you could say, the bass is much to loud for the r…
  • Indirect Variable AssignmentHere's another wacky routine. This allows assignment of values to variables where the source &amp; destination variables can themselves be defined in…
  • editing strings with INPUT LINEHere's the latest in my unpredictable series of utility routines. This one I needed for the SAGE game editor; it emulates INPUT LINE l$ but with the …

Related Searches

  • variable list
  • dim variable size
  • scroll system variable
  • issue 2 variable
  • replacement variable capacitor
  • replace variable resistor
  • draw basic third variable
  • draw third variable
  • draw third variable geoff
  • assembly forgot variable
  • assembly variable
  • basic variable clear
  • opt variable
  • agd opt variable
  • compare strings
  • compare strings z80
  • slicing string variable
  • slice strings variable
  • variable lngth strings
  • strings stored in variable area

Copyright © 2024 World of Spectrum