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.011s
<1234567…34>
  • 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".
    - A ... .
    - A dir variable that stores the v$ dim RAM position.
    Hark0 Hark0 March 2014 Sinclair Basic
  • Streams - File HandlingHello there my fellow WoS'ers I am attempting to write a Z80 / Snapshot Launching program that is based on a category of files # - Z whereby each f…

    ... accept writing anything to a Variable channel at all; and I ... .txt"
    20 DIM #4,size
    30 DIM f$(size*2)
    40 ... /> 50 FOR a=1 to size: PRINT #5; INKEY$ #4: NEXT ...
    Battle Bunny Battle Bunny August 2011 Sinclair Basic
  • LgK image compressorOk people, i decided to make it proper thread since i've finally got something tested & useful for everyone. Here is my "chunky" ZX image compressor …

    ... />

    [code]screen file| size |RCS+ZX7|LC5.2.1 ... with header removed and autogenerated variable-size Z80 decompressor added. Optimized generic ... 't decided yet) but the size would be close to the ...
    Lethargeek Lethargeek January 2016 Development
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... value using a true random variable -- how long it takes ... fixed memory locations to hold variable contents. However there is ... manager like malloc, which supports variable size blocks, may not be ... memory blocks of requested size and u_free for reabsorbing ...
    Alcoholics Anonymous Alcoholics Anonymous October 2007 Development
  • Z80 compressorIs there one available? Is it any good? Peeps have been suggesting we should look into this, so here's a new thread! I'd do the compressor on the …

    ... each byte is encoded using variable-size symbols based on the frequencies ...
    Paolo Ferraris Paolo Ferraris May 2010 Development
  • Streams - File HandlingHello there my fellow WoS'ers I am attempting to write a Z80 / Snapshot Launching program that is based on a category of files # - Z whereby each f…

    ... )[/URL] - this explains the [B]DIM #s[/B] and [B]NEXT ... the +3e ROM, the [B]DIM#s,fsize[/B] will always ... .TXT"
    120 DIM #4, size
    130 DIM f$(size*2)
    140 ... /> 150 FOR a=1 TO size
    160 PRINT #5; INKEY ...
    Zetr0 Zetr0 August 2011 Sinclair Basic
  • PFlagsIs there an explantion somewhere of what bits mean what in the printing flags? 1 23658 FLAGS2 More flags. 1 23693 ATTR P Permanent current col…

    ... string.[/SIZE]
    [SIZE=1]1 - Set if handling a new variable.[/SIZE]
    [SIZE ... =1]2 - unused.[/SIZE]
    [SIZE=1]3 - unused.[/SIZE]
    [SIZE ...
    roko roko December 2011 Development
  • z88dk sticky?I've just tried to PM Alcoholics Anonymous and couldn't because "Alcoholics Anonymous has exceeded their stored private messages quota and cannot acc…

    ... exit or fflush(NULL). The size of an FD* varies depending ... an FD struct of appropriate size is then allocated for the ... multiple i/o terminals of variable size. This allows multiple text windows ... as getting character / text string size, etc.

    In ...
    Alcoholics Anonymous Alcoholics Anonymous January 2012 Development
  • 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 …

    ... be sorted is variable size. You want to ... characteristics given the variable size items. I do ... /> push de ; save size
    push bc ; ... /> call l_mul_16_16x16 ; hl = nmemb*size

    pop de ...
    Alcoholics Anonymous Alcoholics Anonymous June 2012 Development
  • What Spectrum projects (Software/Games/Utility)(Hardware)(Others) are you working on?So, basically that :) You dont have to give names or more clues if you dont want to ;) Also, if you are working on more than one, you can tell all of…

    ... moving sprite. Ritman uses a variable size buffer to do this, up ...
    csmith csmith March 2013 Development
  • What Spectrum projects (Software/Games/Utility)(Hardware)(Others) are you working on?So, basically that :) You dont have to give names or more clues if you dont want to ;) Also, if you are working on more than one, you can tell all of…

    ... moving sprite. Ritman uses a variable size buffer to do this, up ...
    climacus climacus March 2013 Development
  • pathfindingworking on pathfinding in the game. here is Russian description of Lee's algorithm: [url]http://algolist.manual.ru/games/wavealg.php[/url] "if-then"…

    I use the Dijkstra algorithm for calculating paths, as it's simple & quick, although it needs a lot of memory (in Spectrum terms). It's easy to write it in Spectrum BASIC in a couple of dozen lines, but impossible to run it as it needs several meg of ...
    Battle Bunny Battle Bunny April 2013 Development
  • SCREEN$ bug fixI've been using the SCREEN$() function recently for reading data off the screen rather than taking up space with an array and I got fed up with the s…

    ... to make the UDG set variable size I might as well allow ... the others to be variable size as well, as then the ... does all that, and a variable dump routine which takes 4 ... as, although I wrote a variable search routine some time ago ...
    Battle Bunny Battle Bunny November 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…

    ... use as integers etc (with DIM variable as type) or it will ...
    Gedlion Gedlion December 2013 Sinclair Basic
  • Variable sized tiles /tile routineHow would you do a variable sized tile routine where the tiles have position variables too? Thanks would be interested to learn :)

    ... the screen, drawing tiles of variable size shouldn't be hard. I ...
    i love the z80s i love the z80s January 2016 Development
  • Variable sized tiles /tile routineHow would you do a variable sized tile routine where the tiles have position variables too? Thanks would be interested to learn :)

    ... the screen, drawing tiles of variable size shouldn't be hard. I ...
    alienbanana alienbanana January 2016 Development
  • Heavy on the Magic Pt 2 ?Afaik Gargoyle's guys planned to launch expansion packs for their arcane jewel, but "these never came to light" (Wikipedia). Expansion packs could be…

    ... kind of compression (rooms have variable size in memory).
    Bedazzle Bedazzle April 2016 New game ideas
  • ZX Spectrum Next Kickstarter Launchedhttps://www.kickstarter.com/projects/1835143999/zx-spectrum-next

    ... surprise here! You need a variable for line counter. You need ... to do any ROP function, variable size, and on and on and ... terms of number, memory bandwidth, size and ROP function that hardware ...
    Alcoholics Anonymous Alcoholics Anonymous May 2017 Sinclair Miscellaneous
  • 1987-2017Here we are, with our tradional thread about games released thirty years ago, where we can contemplate how bad they have aged, how bad they [i]alread…

    ... eggs from some insects of variable size, moving at full speed through ...
    WhenIWasCruel WhenIWasCruel August 2017 Games
  • 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
    variable's contents.
    CALL ... about the files (total size and count) to a ... be used with arrays - DIM a$(10) STRUCT mystruct[(default ...
    Dunny Dunny January 2012 Sinclair Miscellaneous
  • SpecBAS 0.830 Released!Hi guys - A new official release of SpecBAS has been released. The full changelog is below, but for now here's the download: [url]https://sites.goo…

    ... fonts were 512 characters in size, and made string handling more ... 35 times without needing a variable to keep count
    ... /> Omitting a loop-control variable in FOR EACH caused the ... end were left unspecified
    DIM SPLIT arrays created empty arrays ...
    Dunny Dunny February 2015 Sinclair Basic
  • Chompston Mazes in SpecBASAfter the discussion in ASH-II's Pacman thread, I checked out the link there about generating 2D Pacman style mazes. This one was quite good fun, …

    ... x$,y$,d$,l$="":
    DIM m(mw,mh),dx=-1 ... ,0,1,0:
    DIM dy=0,-1,0,1 ... first we set our maze size - Chompston uses 29x21 so we ... be 0 to 255 in size. So long as we' ... in e$ in a new variable, d$. We then remove that ... n=LEN x$:
    DIM x(n),y(n),d ...
    Dunny Dunny October 2015 Sinclair Basic
  • Oneliner contestHello to you all, I dare you to make a program on 1 BASIC line. Here is the place to sent your ONELINERS [url]http://www.zxspectrum.00freehost.co…

    ... quick notes:

    1. Variable h increases together for both ... the same variable. There's no need to use DIM for this ... boundary condition of the array size limit being reached, (needing similar ... br />
    [quote]
    2. DIM t(2) assigns value zero ...
    Digital Prawn Digital Prawn September 2007 Development
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    ... =Einar Saukas;249782]
    1 DIM a$(5):
    . . .
    LET ... isn't a one letter variable sufficient?[/quote]

    In ... a turn right.
    The DIM command will always make your ... the DIM A$(5) which will always truncate A$ to a size ...
    Dr BEEP Dr BEEP February 2008 Development
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    ... :
    CLS :
    RANDOMIZE :
    DIM m(735):
    LET m ... code does not set system variable [B]INSTRNR[/B] properly yet ... , which was not optimized for size or performance yet. In particular ...
    Einar Saukas Einar Saukas March 2008 Development
  • A BASIC compiler projectHi, I started my own BASIC compiler for the ZX Spectrum (and Z80 machines) 3 months ago. It's still in ALPHA stage (when it is mature, I will write …

    ... Declares an initialized array:
    DIM A(1, 3) => {{ ... being you have to specify variable types. This might introduce ... highly recommended.
    When a variable is not declared, the compiler ... block which fit the requested size is 'sliced' and returned). ...
    boriel boriel June 2008 Development
  • 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…

    ... /qckDIM.shtml"][COLOR=#000066]DIM[/COLOR][/URL] M[COLOR ... /qckDIM.shtml"][COLOR=#000066]DIM[/COLOR][/URL] p,pp ... never seen such a DIM statement in ZX BASIC ...
    When you use DIM without the $ in ZX BASIC ... space for the variable to a float size (5 bytes). ...
    Dr BEEP Dr BEEP December 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…

    ... on basic programs of any size and can use sophisticated techniques ... little to no changes. The DIM as FLOAT stuff you mentioned ... . If you don't specify variable types, it will do what ... the compiler what type the variable is means it can generate ...
    Alcoholics Anonymous Alcoholics Anonymous December 2009 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... elements could require a stack size of 50K in the worst ... to limit the required stack size? The solution is quite simple ... n=50
    9010 RANDOMIZE : DIM s(ln n/ln 2 ... ,2): LET p=0: DIM p$(n,1): FOR i ... enough anymore to only preserve variable [B]b[/B] in the ...
    Einar Saukas Einar Saukas October 2010 Sinclair Basic
<1234567…34>

Latest Posts

  • Celebrity deaths...
    Paradigm Shifter on 4:41PM
  • Your Favorite Magazine Cover Tapes.
    Your Spec-chum on 2:19PM
  • Where to Buy the New or Fairly Recent , Excellent ZX Spectrum Games Software?
    Your Spec-chum on 1:34PM
  • i am currently listening to........
    mel the bell on 11:34AM
  • Mis-labeled cassette titles or a name change?
    harriusherbartio on 11:06AM
  • Ways to preserve Speccy Tapes in the loft
    harriusherbartio on 10:58AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 10:47AM
  • Minor British Sports that did become games on the ZX Spectrum
    harriusherbartio on 10:30AM
  • How to return to basic properly from ASM
    Paradigm Shifter on 1:54AM
  • Frankie's ZX Spectrum Digouts
    Zup on April 8

HitBox

Word Docs Hits
dim 1.1K 1.8K
variable 2.8K 4.2K
size 13.4K 27.7K

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…
  • How do I know the RAM size?Just left my parents after cleaning out my pile of old stuff in their basement.<br /> Know what I found? My old ZX Spectrum.... Those were the days!<…
  • 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 …
  • Just a straw Poll on Collection size :)And no, this isnt a piss furthest contest, just a simple question, how many collectors are out there ?<br /> <br /> As for wot a collector is ? Thats…
  • Program sizeI am typing a basic program into a ZX and I need to find out exactly how much memory it is using. Is there a way to calculate this?<br /> <br /> :con…
  • Full size keyboardWhat way does the "Spectrum Harware Manual" recommend doing this?<br /> Thanks in advance for your help.
  • Collection size of individual titles.As from today 23/5/2005, ive currently amassed 4150 titles. All of which are boxed, and consist of budget,cover tapes, full price and the big boxed o…
  • disk sizeWith SPIN emulating a +3, I can create the following disks<br /> <br /> 1 - 720k Double Sided 80 trk<br /> 2 - 360k Double Sided 40 trk<br /> 3 - 180…
  • Border size?Hi<br /> I've read the documentation on the border in the CSS.<br /> But I think I've managed to missread somthings, perhaps som one can explain.<br …
  • Wife's Cup-size. :DShe's having trouble finding a bra to fit. So off she goes on to Google to find a measurement chart. She's a DD by that. At least one of us is hap…

Related Searches

  • variable list
  • dim input
  • dim from input
  • dim size
  • font size
  • size
  • scroll system variable
  • opus rom ram size
  • competition pro size
  • issue 2 variable
  • pcb double side size hole
  • pcb double side size
  • size of pcb holes
  • what size ramdisk in 128k
  • replacement variable capacitor
  • replace variable resistor
  • divmmc sd card size
  • forum size
  • dim stored in variable area
  • change size of dim

Copyright © 2024 World of Spectrum