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 706 results in 0.001s
<1…3456789…24>
  • Sintech titles no longer denienced!8 years after the initial denience ( June 1998 ), the 3 Ultrasoft titles that [URL="http://www.worldofspectrum.org/infoseekpub.cgi?regexp=Sintech"]Si…

    iirc, numbers take up quite a bit of memory. Storing the equivalent string and converting it 'on the fly' with VAL is more efficient storage-wise.
    Lee Tonks Lee Tonks July 2006 Games
  • Sintech titles no longer denienced!8 years after the initial denience ( June 1998 ), the 3 Ultrasoft titles that [URL="http://www.worldofspectrum.org/infoseekpub.cgi?regexp=Sintech"]Si…

    ... it 'on the fly' with VAL is more efficient storage-wise ...
    nekdo123 nekdo123 July 2006 Games
  • Sintech titles no longer denienced!8 years after the initial denience ( June 1998 ), the 3 Ultrasoft titles that [URL="http://www.worldofspectrum.org/infoseekpub.cgi?regexp=Sintech"]Si…

    ... as a string in a VAL statement saves a couple bytes ...
    icabod icabod July 2006 Games
  • Sintech titles no longer denienced!8 years after the initial denience ( June 1998 ), the 3 Ultrasoft titles that [URL="http://www.worldofspectrum.org/infoseekpub.cgi?regexp=Sintech"]Si…

    ... ]

    So POKE VAL "40653", VAL "59" takes at least 6 ... memory than POKE 40653, 59 (VAL "40653" takes 8 bytes; just ...
    nekdo123 nekdo123 July 2006 Games
  • Sintech titles no longer denienced!8 years after the initial denience ( June 1998 ), the 3 Ultrasoft titles that [URL="http://www.worldofspectrum.org/infoseekpub.cgi?regexp=Sintech"]Si…

    [QUOTE=nekdo123]So POKE VAL "40653", VAL "59" takes at least 6 ... memory than POKE 40653, 59 (VAL "40653" takes 8 bytes; just ...
    Alcoholics Anonymous Alcoholics Anonymous July 2006 Games
  • Extended Microdrive FormatterHello all, After a few months on a steep learning curve, some heavy duty reading and plenty of trial and error I?ve written an extended microdrive f…

    A small point:

    You use LOAD *"m";VAL"d";....

    You could just as well do LOAD *"m";d;... which is three bytes shorter.
    Jonathan Harston Jonathan Harston July 2006 Development
  • Sintech titles no longer denienced!8 years after the initial denience ( June 1998 ), the 3 Ultrasoft titles that [URL="http://www.worldofspectrum.org/infoseekpub.cgi?regexp=Sintech"]Si…

    [quote=nekdo123]Tell me something. What's the point of command POKE VAL "40653", VAL "59" if you can simply write POKE 40653,59?
    [/quote]

    More typing for you ;)
    Woody Woody July 2006 Games
  • Self Relocating CodeOn page 47 of [url]http://www.tim-mann.org/trs80/doc/ldosq1-3.txt[/url] is an article about relocating code. The documented routine that performs the…

    ... A,(DE)
    DEC A ; val of 1 is end marker ...
    piters piters August 2006 Development
  • Lesser used BASIC commandsAre there any interesting articles or books that explore some of the lesser used BASIC commands/functions e.g. DEF FN, IN, OUT etc? The Spectrum BAS…

    ... =dm_boozefreek]
    I never used VAL$ or LN.
    [/QUOTE]
    val$ed them all - so it ... would val$ something like 5 + 4 * LN ...
    Where's that AY chip gone... Where's that AY chip gone... August 2006 Sinclair Basic
  • Lesser used BASIC commandsAre there any interesting articles or books that explore some of the lesser used BASIC commands/functions e.g. DEF FN, IN, OUT etc? The Spectrum BAS…

    ... all the commands and then val$ed them all - so it ... would val$ something like 5 + 4 * LN ...
    rich_chandler rich_chandler August 2006 Sinclair Basic
  • Sinclair Basic Vs PascalWith the rise of the structured programming movement (Jackson et al) was it wise to put the Basic programming language into the Spectrum. By this ti…

    ... memory saving techniques (NOT PI, VAL, CODE, a complete absence of ...
    Matt_B Matt_B September 2006 Sinclair Miscellaneous
  • Sinclair Basic Vs PascalWith the rise of the structured programming movement (Jackson et al) was it wise to put the Basic programming language into the Spectrum. By this ti…

    ... memory saving techniques (NOT PI, VAL, CODE, a complete absence of ...
    Dunny Dunny September 2006 Sinclair Miscellaneous
  • Which would be fasterSay you want to use a variable value of 0 to 255 in a BASIC program, which way would be fastest? Say for arguments sake you wanted to use two variabl…

    ... nnn=1)

    2) VAL "1"

    3) PI ... work to do.

    VAL is a good space saving ...
    Matt_B Matt_B September 2006 Development
  • New - BASin r13a is available for downloadHi all, Here's the latest BASin. Mostly just bugfixes, but also now has the upgraded UDG editor which can now edit multiple UDGs on one editing gri…

    ... =1's to let a=val "1"'s?
    Arda Arda October 2006 Emulators
  • Oh so BRIGHT!What is the SLOWEST way to change the attribute area to BRIGHT? It has to be legit! No meaningless instructions or doing stuff for the sake of it. …

    See, I was trying to also size-code*. In BASIC.
    Oh yes, I'm demoscene alright.



    (* and yes, I know I can make the code smaller using VAL"", but that's for a later stage of optimisation)
    icabod icabod November 2006 Development
  • Oh so BRIGHT!What is the SLOWEST way to change the attribute area to BRIGHT? It has to be legit! No meaningless instructions or doing stuff for the sake of it. …

    ... make the code smaller using VAL"", but that's for a ...
    Matt_B Matt_B November 2006 Development
  • Recursive functionsA while ago Phil demonstrated a nice example of recursiveness in a DEF FN function. Sadly it doesn't appear to be online anymore and I have difficult…

    Well Paul, it is possible but then you must use VAL$.

    This is my reply, I will code an recursive (string)routine later.

    Dr Beep
    Dr BEEP Dr BEEP November 2006 Sinclair Basic
  • Recursive functionsA while ago Phil demonstrated a nice example of recursiveness in a DEF FN function. Sadly it doesn't appear to be online anymore and I have difficult…

    10 Def Fn D$(n,s$)=val$ (("s$+fn D$(n-1,s$)" And N>0)+("""""" And N=0))
    20 Print Fn D$(10,"abc")
    Dr BEEP Dr BEEP November 2006 Sinclair Basic
  • I'm in need of help hereI've been using the 'COMB' and 'TRANSFER' programs on Lerm's Utility D package to convert copy-protected (Speedlock, Alcatraz etc) 48k games onto +3 …

    ... like this:
    (File / POKE val / Start Address to load)
    Jmk Jmk December 2006 Sinclair Miscellaneous
  • Who knows how to program a "pathfinder"?Hi all. I like to play games like "Colour Lines" and I think, I will create a version of this game for the SAM Coupe. It looks easy - until this "dam…

    ... knot
    220 LET y=VAL s$(1)
    230 LET ... x=VAL s$(2)
    235 IF ... $" " THEN LET y=VAL y$: LET x=VAL x$: GO TO 410 ...
    Dr BEEP Dr BEEP January 2007 Development
  • Good booksWould anybody have a book (or group of books) that you would recommend for reading in general? Also, what is your favorite book you've read so far? …

    I currently stuck into Val Mcdermid's Dr Tony Hill novels and I have to say there rather good
    I've read the Bond novels and they were a great read. oh and The Eagle has landed is WW2 story I've read a number of times.
    chop983 chop983 January 2007 Chit chat
  • New - BASin r13a is available for downloadHi all, Here's the latest BASin. Mostly just bugfixes, but also now has the upgraded UDG editor which can now edit multiple UDGs on one editing gri…

    ... to save space by applying VAL tricks?

    Nicely detailed ...
    jp jp January 2007 Sinclair Basic
  • Question about digitized sound and videoI searched the forums and couldn't find the answer, so here it goes. Regarding digitized sound: I remember reading an article long ago about a vid…

    Here is the code I prepared for flashloading... Hides file names also...

    [code]
    5 PAPER 7: BORDER 7: CLS
    10 POKE VAL "23739",CODE "o"
    15 LOAD ""SCREEN$
    20 PAUSE 1
    30 GO TO 15
    [/code]
    Arda Arda January 2007 Development
  • basin & spinWhen a basic program is loaded into Basin from .tzx does it display the real basic underneath or what the basic has been made to look like by the sof…

    ... course also the reason that VAL "1" takes up less bytes ...
    Philip Kendall Philip Kendall January 2007 Emulators
  • DivIDE and RWAP's DiwIDE*Opps, sorry, wrong forum, this thread must be in hardware topic.* I was planning to get a divide from Rwap, but I'm too afraid of long way the devi…

    ... 1 ext ext ext ext val val ]

    "ext" can be ... undefined (zero) and that two "val" bits select ROM page. This ...
    baze baze January 2007 Development
  • DivIDE and RWAP's DiwIDE*Opps, sorry, wrong forum, this thread must be in hardware topic.* I was planning to get a divide from Rwap, but I'm too afraid of long way the devi…

    ... undefined (zero) and that two "val" bits select ROM page.
    zilog zilog January 2007 Development
  • 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. …

    ... ))
    DEF FN h$(x) = VAL$("FN h$(INT(x/16 ...
    Alcoholics Anonymous Alcoholics Anonymous February 2007 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. …

    [code]
    DEF FN x$(a) = CHR$(a+48+(7 AND a>9))
    DEF FN h$(x) = VAL$("FN h$(INT(x/16))+FN x$(x-16*INT (x/16))"(1+(13 AND x
    Dr BEEP Dr BEEP February 2007 Sinclair Basic
  • Getting scr addresses from x and yCould someone please tell me how to calculate the 8 screen addresses corresponding to a character printed in basic at coordinates x and y? For examp…

    ... ]

    And then use VAL a$ to evaluate it when ...
    Alcoholics Anonymous Alcoholics Anonymous March 2007 Sinclair Basic
  • Converting m$ to dataI created a maze using a matrix of 704 characters. In order to save memory, and since the maze it's just walls and spaces which could be interpreted …

    ... m(INT (i/8) + 1) = VAL$ ("BIN " + m$(i TO i ...
    Alcoholics Anonymous Alcoholics Anonymous May 2007 Sinclair Basic
<1…3456789…24>

Latest Posts

  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 1:34PM
  • Happy 40th Birthday to the Amstrad CPC464!
    Your Spec-chum on 7:28AM
  • Your Favorite Magazine Cover Tapes.
    Paradigm Shifter on 1:28AM
  • Simple Sprite Routine
    dmsmith on 1:25AM
  • I am currently watching.....
    zx1 on April 11
  • Today's BASIC program: visit attribute cells I am interested in, in pseudorandom order
    Paradigm Shifter on April 11
  • How do you share programs online?
    firelord on April 11
  • Celebrity deaths...
    Ælita on April 11
  • Who Has Got The Earliest ZX Spectrum Software?
    harriusherbartio on April 11
  • Footballer of the year - translated version
    firelord on April 11

HitBox

Word Docs Hits
val 705 2.3K
mcneal 1 1

Related Threads

  • Let a=val "1"I see some basic programs which use Let a=val "1" instead of let a=1 syntax.<br /> <br /> what is the difference between val "1" and 1?<br /> <br /> …
  • 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…
  • VAL SCREEN$I seem to remember being able to find out the ascii code of a character displayed on the screen by typing in something along the lines of PRINT VAL S…
  • Interesting VAL featureHi Folks,<br /> <br /> No doubt most people know this but it is new to me! The following code generates the answer of 10.<br /> <br /> <br /> […

Related Searches

  • val
  • randomize usr val
  • randomize val
  • val string
  • val float bytes
  • val string save space
  • val string save memory
  • val string memory
  • val memory
  • val beep
  • val beep kgmcneil
  • beep val save memory
  • beep val mcneal
  • beep val
  • val karl
  • val mcneal
  • val mcneil
  • val 1
  • kgmcneil val
  • let bk3 peek val x 18

Copyright © 2024 World of Spectrum