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.002s
<1234567…34>
  • Having trouble with some type-insI'm trying to enter some type-ins into BASin but I get into errors I can't handle. Since both type-ins are coming from the same book, it becomes a li…

    ... 23
    150 LET S$ = CHR$ ((n1 (= 9) * (n1 + 48) +
    rahtgaz rahtgaz January 2009 Sinclair Basic
  • Spectrum + keyboard issueMy Spectrum+ seems to have some trouble on Space Key. Sorry for all "seem" in the following text. But it's hard to understand if it's a real steady t…

    ... a$

    the Space (CHR$ 32) has difficult to be ...
    dg67 dg67 December 2009 Hardware
  • An update on ZX BASIC support for the SpectranetOne for zxbruno, I hope :-) So just an example of what now can be done with the network filesystem and BASIC. The following listing is of a program …

    ... )
    1035 PRINT INK 5;CHR$ (i-1+CODE "A");"....";INK ...
    Winston Winston March 2010 Sinclair Basic
  • A tidy loader for minigamesThe minigame competition doesn't permit the use of separate loaders like [code]10 LOAD "": RAND USR 32768[/code] The loader must be included in the b…

    ... the others:

    [code]Chr$ Token Asm Ouch 1 2 ...
    ajmoss ajmoss June 2010 Development
  • 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…

    ... TO 50: LET p$(a)=CHR$ (65+RND*25): NEXT a ... TO 50: LET p$(a)=CHR$ (65+RND*25): NEXT a ...
    Paddy Coleman Paddy Coleman September 2010 Sinclair Basic
  • A bug in BASin?Hi Folks, Have I found another bug in BASin? I wrote the following small program: [CODE]10 PRINT AT 0,0;CHR$ PEEK 23556;" " 20 GO TO 10[/CODE] …

    ... ]10 PRINT AT 0,0;CHR$ PEEK 23556;" "
    20 GO ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • General purpose full screen input routineHi Folks, One of the things that annoyed me back in the 1980s with most BASICs was the lack of a full screen "formatted" input function. You could …

    Hi Folks,

    One of the things that annoyed me back in the 1980s with most BASICs was the lack of a full screen "formatted" input function. You could accept strings and numerics but there was no ability to limit input length etc.

    So ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • A little program to set the time...Hi Folks, OK, I have amended the program so you now have four routines/functions you can use in your own programs: TIME: GET - Reads the current va…

    Hi Folks,

    OK, I have amended the program so you now have four routines/functions you can use in your own programs:

    TIME: GET - Reads the current value from FRAMES and stores it in HH,MM and SS
    TIME: SET - Sets FRAMES to the ...
    Paddy Coleman Paddy Coleman November 2010 Sinclair Basic
  • SpecBAS 0.628 now availableFor Windows and Linux (Pandora port coming soon!): [url]http://www.zxspectrum4.net/forum/viewtopic.php?f=6&t=28[/url] Quick list of what's new: [c…

    ... now scrolls properly with trailing CHR$ 13's.
    Filename handling ...
    Dunny Dunny March 2011 Sinclair Miscellaneous
  • SpecBAS 0.646 now available.Yay! Here's another round of bugfixes and additions to the Program. Not so much of the extract coding features, but more back-to-basics this time: […

    ... faster than using the "Hello"+chr$ 32+"there!" method, as there ...
    Dunny Dunny May 2011 Sinclair Miscellaneous
  • 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…

    ... /> [CODE]100 LET m$=CHR$ 17+CHR$ 0:
    FOR a ... :
    LET m$=m$+CHR$ 22+CHR$ a+CHR$ 7+" ":
    NEXT ... LET a$=CHR$ 17+CHR$ 7+CHR$ 6+CHR$ 6+CHR$ 17+CHR$ 5+CHR$ 6+CHR$ 6 ... /> NEXT a:
    LET c$=CHR$ 19+CHR$ 1+c$
    140 ...
    Paddy Coleman Paddy Coleman June 2011 Sinclair Basic
  • 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…

    ... )+("DP" AND z$(a,o)=CHR$ 10)+STR$ ((CODE z$(a ...
    Paddy Coleman Paddy Coleman July 2011 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…

    ... ; 128 THE LET a$=a$+ CHR$ c
    60 REM PRINT ...
    Zetr0 Zetr0 August 2011 Sinclair Basic
  • New Tool: CheqEdit[b]CheqEdit[/b] it's a simple and small program that helps you to draw 64x48 graphics on screen in GRAPHICS MODE. Program can output as text in CHR$ …

    ... can output as text in CHR$ format, control codes format, a ...
    Arda Arda September 2011 Announcements
  • saving part of a BASIC programHere's a short routine to save part of a BASIC program. The idea is that it can be merged into a program and then used to save sub-routines, etc. to …

    ... c$(68): LET h$(1)=CHR$ 0: LET fg=256
    CHR$ FN g(l)+CHR$ FN h(l ... /> LET h$(12 TO )=l$+CHR$ 0+CHR$ 128+l$
    9994 ... /> LET c$((s+1)/2)=CHR$ FN b(c$(s TO ...
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
  • IN or INKEY ?just curious which is better to use.. I have a menu done.. and use 6/7 to go up down it + space to cycle thru the options (using inkey).. obv. if I w…

    ... can I use say INKEY CHR ?
    fog fog October 2011 Sinclair Basic
  • Find-Fill-Copy functions for BASICThere's not much going on here, so here's three m/code routines to provide some data manipulation functions which are otherwise slow to do from BASIC…

    ... . FN c(22528,22529,127,CHR$ 4)
    will set the ...
    Battle Bunny Battle Bunny October 2011 Sinclair Basic
  • Indirect Variable AssignmentHere's another wacky routine. This allows assignment of values to variables where the source & destination variables can themselves be defined in var…

    ... /> 10 PRINT USR id,"val"+CHR$ (a+64),"=",v;
    11 ... id,v$,"=",v+VAL ("val"+CHR$ (a+64));
    20 NEXT ...
    Battle Bunny Battle Bunny January 2012 Sinclair Basic
  • storing machine code in BASICA couple of years ago I posted a routine for storing machine code between PROG & VARS, based on an idea in Toni Baker's "Mastering Machine Code". Thi…

    ... $,n)=l$+CHR$ 14+CHR$ 0+CHR$ 0+CHR$ FN g(n)+CHR$ FN h ... (n)+CHR$ 0+",":
    Battle Bunny Battle Bunny January 2012 Sinclair Basic
  • BOB the Screen BuilderHere's my first attempt to use that tokenising idea from "more on storing mazes" in a screen designer - "[url=http://www.users.globalnet.co.uk/~jg27p…

    ... with non-readable control codes (CHR$ 16, CHR$ 17, etc.). I'll ...
    Battle Bunny Battle Bunny February 2012 Sinclair Basic
  • stuck on recursive functionI want this function to PEEK 'l' bytes from memory starting at 's' and return them as a string, but however much I fiddle about with quoting and pare…

    ... /> DEF FN j$(s,l)=CHR$ PEEK (s)+VAL$ "FN j ...
    Battle Bunny Battle Bunny February 2012 Sinclair Basic
  • Shaded Desktop...Hi Folks, As part of some BASin testing I thought I would create a little program that creates a shaded desktop. In this case it goes from solid bl…

    ... LET b$=CHR$ 17+CHR$ 0+CHR$ 16+CHR$ 1+CHR$ 22+CHR$ 0+CHR$ 0
    CHR$ 143: NEXT a
    180 ... TO 160: LET b$=b$+CHR$ 144: NEXT a
    200 ... TO 160: LET b$=b$+CHR$ 145: NEXT a
    220 ... TO 160: LET b$=b$+CHR$ 146: NEXT a
    240 ...
    Paddy Coleman Paddy Coleman April 2012 Sinclair Basic
  • 64x48 full colour graphicsHow feasible is this? Could an interrupt-driven routine be used to, for example, fill the top two thirds with a 64x32 blocky picture and leave the bo…

    ... to fill the screen with CHR$ 0x85 then change attributes every ...
    na_th_an na_th_an July 2012 Development
  • Best books & Sugested reading..Hi i was trying to search the forum but couldnt find it. Looking at WOS there is a number of books on BASIC, programming, machine code ect.. I mess…

    ... />
    10 LET A$=CHR$ 16+CHR$ 2+"INPUT SOMTHING:"
    20 ...
    WibbleBibble WibbleBibble August 2012 Sinclair Basic
  • 40 Column Printing RoutineI've written a 40 column printing routine, which I'd like to share... It's my first piece of 'public' code so go easy on me! I don't think it is a…

    ... hl
    ret
    foundat ; chr$22 can be used for ...
    jr nextchr
    foundcr ; chr$13 can be used for ...
    uglifruit uglifruit August 2012 Development
  • Ideas for speeding up this BASIC routine?This loop can take up to 2 minutes to run, depending upon the content of the screen being scanned, about 70% of that time being taken up by lines 105…

    This loop can take up to 2 minutes to run, depending upon the content of the screen being scanned, about 70% of that time being taken up by lines 1055 (50 secs) & 1075 (35 secs). Any suggestions on how to speed up those two parts (other than rewriting ...
    Battle Bunny Battle Bunny September 2012 Sinclair Basic
<1234567…34>

Latest Posts

  • I am currently watching.....
    Paradigm Shifter on 5:39PM
  • Happy 40th Birthday to the Amstrad CPC464!
    Luny on 5:14PM
  • Your Favorite Magazine Cover Tapes.
    dm_boozefreek on 4:45PM
  • "Late Entries"
    harriusherbartio on 4:00PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 1:34PM
  • Simple Sprite Routine
    dmsmith on 1:25AM
  • 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

HitBox

Word Docs Hits
chr 1.3K 4.4K

Related Threads

  • ZX Spectrum CHR$ sets (fonts)I'm satisfied enough with my _ZX Spectrum CHR$ sets (fonts)_ web page and I published it at [url="http://mstancevic.tripod.com/SpectrumCHRs/ZX_Spectr…
  • The Great CHR$(27)It's not Christmas without the Great Escape on at least once.<br /> <br /> That is all.
  • unreadable CHR$ in Titan Quest, help, plstried demo and full version of titan quest,<br /> <br /> but both versions of the game have been making fun of me, I guess,<br /> there's just wrong …
  • .chr to .binSo here goes another stupid question. What's the best way to convert .chr files created with ZX-Paintbrush to binary or asm format? I know ZX-Blocked…
  • How do you use CHR$ properly in a string ?So I trawled through the manual and found the bit on the character set. It says CHR$ 17 gives you paper control and CHR$ 16 gives you ink. But how do…
  • Help with CHR$ codes 0 to 5Hi,<br /> I'm looking a piece of code in a listing similar to:<br /> Let a$ = CHR$ 0<br /> Let b$ = CHR$ 1<br /> Let c$ = CHR$ 2<br /> Let d$ = …

Related Searches

  • chr
  • chr 22
  • chr 21
  • chr attributes
  • chr codes
  • coding chr
  • code chr
  • control code chr
  • chr color codes
  • chr asm
  • 64 chr basic
  • chr 12
  • poke big chr channel
  • poke chr 8 over 1
  • bin chr 196 a
  • zx spectrum chr
  • chr ink
  • chr controls
  • chr control
  • chr nathan

Copyright © 2024 World of Spectrum