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 705 results in 0.001s
<1234567…24>
  • Let a=val "1"I see some basic programs which use Let a=val "1" instead of let a=1 syntax. what is the difference between val "1" and 1? is it an effect of some …

    I see some basic programs which use Let a=val "1" instead of let a=1 syntax.

    what is the difference between val "1" and 1?

    is it an effect of some compiler or converter?

    just curious.
    Arda Arda April 2003 Sinclair Basic
  • 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…

    ... be themselves variable by using VAL$. Thus, if v$ holds the ... , then:
    [b]LET a$=VAL$ v$[/b]
    for a ... , or:
    [b]LET anumber=VAL VAL$ "v$"[/b]
    for a ...
    Battle Bunny Battle Bunny October 2010 Sinclair Basic
  • 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…

    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 SCREEN$ (1,1).

    I cant get it to work now...

    Any ideas?!:-?
    daveysludge daveysludge January 2012 Sinclair Basic
  • Interesting VAL featureHi Folks, No doubt most people know this but it is new to me! The following code generates the answer of 10. [code]10 LET A$="X+X" 20 LET X…

    ... X=5
    30 PRINT VAL A$[/code]

    Very ...
    Paddy Coleman Paddy Coleman September 2016 Sinclair Basic
  • Basic listings memory occupationI remember readong someplace that due to basic's representation of number, in a program, in order to save space, it was better to represent integers …

    ... by stuff like:

    val "12345" instead of plain 12345 ... like

    let x = val "12345" or stuff like
    Alessandro Tommasi Alessandro Tommasi August 2002 Sinclair Miscellaneous
  • More random questionsWay back in the mists of time I remember reading a couple of articles in an ancient copy of Sinclair User, ZX Computing or the like (can't remember w…

    ... numbers 32 to 255 and VAL for anything else?
    The Mighty Dopethrone The Mighty Dopethrone July 2003 Games
  • Sinclair Basic compiler for PC?I know we all can use BASin to play for a while in a little window. But... What about creating a 80x86 EXE program from scratch using Sinclair Basic…

    ... .NET!!! Everybody else thinks that VAL("1+2") is either an ...
    Marcelo Marcelo September 2003 Sinclair Basic
  • Most pointless type-in?I think it was one I saw, probably in Program Pitstop(which mag did that?), to evaluate a string as a full expression, a la the Beeb: spend hours typ…

    ... two seconds typing LET A=VAL A$, which does exactly the ...
    robert@fm robert@fm October 2004 Games
  • New Functions for Sinclair BasicA total of 52 new functions can be added to Sinclair BASIC; 26 numeric functions (A-Z) and 26 string functions (A$-Z$). Owing to the internal structu…

    ... ]
    DEF FN B(b$)=VAL(CHR$ 196+b$)
    [/code ...
    chev chev November 2004 Sinclair Basic
  • 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…

    ... this should use the command VAL or VAL$ somewhere, but being a ...
    BigBadMick BigBadMick April 2005 Development
  • Speccy fan meetup, London, Sat 26th NovWhat's the best way to get through Skylab Landing Bay? Where can I get the best deal on a 6x8 standard apex shed? Has anyone ever used VAL$ for anyth…

    ... ?
    Has anyone ever used VAL$ for anything useful?
    Can ...
    gasman gasman November 2005 Sinclair Miscellaneous
  • Amazing Short Type-InsHey all ! Been having some pretty stressfull days lately so I tought I would type in some games. There was a very nice type-in book here in Slovenia…

    Hey all !

    Been having some pretty stressfull days lately so I tought I would type in some games. There was a very nice type-in book here in Slovenia called "Mirko Tipka na Radirko" which is roughly translated as "Mirko types on rubber" ( ...
    Tom-Cat Tom-Cat March 2006 Games
  • 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 ...
    ewgf ewgf September 2006 Development
  • ONELINER : Finger TwisterFINGER TWISTER Do you all know TWISTER, that crazy game where you had to place your left foot on yellow, your right hand on green etc. etc. Well, n…

    ... -z)+.5:
    LET x=VAL c$(y): LET c$(y ... /> ;v: LET k=IN 63486-VAL b$(1)+IN
    64510 ... -VAL b$(2)+IN 65022-VAL b$(
    3 ...
    Dr BEEP Dr BEEP May 2007 Games
  • Naughtiest keywordWe've had how to generate each of the error messages but which keyword can be used to generate the most errors? BORDER CODE VAL$ "WOS" Nonsense in B…

    ... errors?

    BORDER CODE VAL$ "WOS"
    Nonsense in BASIC ...
    Bethan Bethan September 2007 Sinclair Basic
  • Calculating how many pixels each mapper has created - for Skarpo especially :)Pavel Pl&#237;va : 2992717027 pixels Ladderman : 2058908818 pixels Sherwin Robb : 411890200 pixels Viktor Drozd : 266748605 pixels Victor Daulichen :…

    ... /> Stanislav Yudin : 471600 pixels
    Val : 402876 pixels
    David Williams ...
    Pavero Pavero January 2008 Sinclair Miscellaneous
  • ANNOUNCE: BASin r14 is up. New SCREEN$ paintbox included.Hi all, Well, I can't sit on this any longer - so I've released it. Let's all get a good testing session going, eh? You can get the new BASin [url=…

    ... more pathological uses of the VAL$ function.
    Added - Another simple ...
    Dunny Dunny February 2008 Emulators
  • BASIC Keyword ReferenceRealised that the Sinclair Basic section would be a better place for discussion of BASIC keywords, so for reference the old thread is in [thread=2005…

    ... : L
    LET : K : L VAL : E : J
    LINE : E ... : SYM + 3 VAL$ : E : SYM + J
    LIST ...
    icabod icabod March 2008 Sinclair Basic
  • Creepy Computer GamesBook Title: [B][URL="http://www.worldofspectrum.org/infoseekid.cgi?id=2000102"]Creepy Computer Games[/URL][/B] Authors: Jerry Tyler (Editor) & Chris …

    ... : 9, Program: Spiderwoman (by [B]Val Robinson[/B]) - [URL="http://www ...
    c1541 c1541 March 2008 MIA/STP/SDP
  • Changing BASIC loader in Chuckie Egg 2Hi, My aim is to include "PAUSE 0" event at the end of the loading of the Chuckie Egg 2 game. The reason is that I use emulator to load the game and…

    ... CLEAR VAL "65520": POKE VAL "23624", VAL "0": POKE VAL "23693", VAL "0": OUT (VAL "254"), VAL ...
    maiki maiki March 2008 Emulators
  • Important for Game/Demo DevelopersHello Spectrum-friends, I just finished our new Disc-Magazine SCENE+ with newest games, demos, graphics and sounds from the Spectrum Scene. However,…

    ... /> - Put all other numbers into VAL. So PRINT AT 10,10 ... is PRINT VAL "10", VAL "10"

    3 ...
    Speccyman Speccyman April 2008 Development
  • Daton Software Info ?Hi folks, Does anyone know more about Daton Software: http://www.worldofspectrum.org/infoseekpub.cgi?regexp=^Daton+Software$ We currently only have…

    ... . I also did a POKE VAL "23739",CODE "o" command to ...
    Andrew Barker Andrew Barker October 2008 Infoseek database
  • Computer & Video Games Book of Adventure, TheBelow is the spectrum listing from the "[URL="http://www.worldofspectrum.org/infoseekid.cgi?id=2000078"]Computer & Video Games Book of Adventure, The…

    Below is the spectrum listing from the "[URL="http://www.worldofspectrum.org/infoseekid.cgi?id=2000078"]Computer & Video Games Book of Adventure, The[/URL]" book.

    I've had to add line 2 as there was a GO SUB 2 in the rest of the listing & ...
    c1541 c1541 October 2008 MIA/STP/SDP
  • 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 …

    ... PRINT AT x,y;g$(VAL (a$(x,y)+1))
    chop983 chop983 December 2008 Sinclair Basic
  • LERM TranspackThe [URL="http://www.worldofspectrum.org/infoseekpub.cgi?regexp=^Lerm+Software$&loadpics=3"]LERM[/URL] entries seems to be in a bit of disarray: Fir…

    ... - Program Analasys
    v/rcode - VAL / REM remover
    RUN - RUN ...
    The President The President January 2009 Infoseek database
  • Renumbering routinesI sometimes modify programs that either I or others have written and sensibly renumber them - usually 10/10, to make future alterations easier and ma…

    ... , I compress numbers, mostly to VAL"number" - once again, SuperCode 3 ...
    emleymoor emleymoor September 2009 Sinclair Basic
  • Making BASIC occupy less RAM?I risk being told to search the forums and the entire archive of type-ins, but here it goes... Is there any known utility to do all the hard work of…

    ... compile BASIC listings that use VAL extensively, but something tells me ...
    zxbruno zxbruno January 2010 Sinclair Basic
  • Can you improve this recursive DEF FN?I came up with this function to scan strings for characters without needing to use FOR...NEXT and IF...THEN, but it seems rather long-winded. Can any…

    ... FN w(w$,o$,c)=VAL (("FN w(w$,o$,c ...
    Battle Bunny Battle Bunny September 2010 Sinclair Basic
  • Speeding up select processing...Hi Folks, I have the following code in my program and it works fine but is rather "sluggish". I have even moved it to the beginning of the program …

    ... one
    270 POKE attrp,VAL "112":
    PRINT AT t ...
    Paddy Coleman Paddy Coleman June 2011 Sinclair Basic
  • checking bits in BASICThe question of manipulating bit patterns in BASIC was raised recently in this [thread=35728]Keys redefine routine and key check[/thread] thread. I s…

    ... (n/b)*b)
    +VAL (("a*VAL FN b$(INT (n/b ... ,a,b,l)=FN b$(VAL FN b$(n,a,10 ...
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
<1234567…24>

Latest Posts

  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 11:21AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 11:01AM
  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade 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

HitBox

Word Docs Hits
val 705 2.3K

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

  • 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 save memory mcneal
  • 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