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.128s
<1…567891011…34>
  • Printing UDGs in BASICAfter looking a little through Winer Milly's code, it struck me that I might be able to speed up my Cybernoid editor by replacing: FOR a=0 TO 31: PR…

    ... =48K;176551]After looking a little through Winer Milly' ... br />
    FOR a=0 TO 31: PRINT CHR ... $32+a : NEXT a

    ... "[THIS TEXT SHOULD CONTAIN A STRING OF THE 32 UDGs I ... br /> [QUOTE]
    Is there a control character # that switches to ...
    Paul van der Laan Paul van der Laan March 2007 Sinclair Basic
  • Printing UDGs in BASICAfter looking a little through Winer Milly's code, it struck me that I might be able to speed up my Cybernoid editor by replacing: FOR a=0 TO 31: PR…

    [QUOTE=48K;176551]After looking a little through Winer Milly's ... by replacing:

    FOR a=0 TO 31: PRINT CHR ... $32+a : NEXT a

    with:
    PRINT "[THIS TEXT SHOULD CONTAIN A STRING OF THE 32 UDGs I ...
    Dr BEEP Dr BEEP March 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…

    ... to store the formula in a string like:

    ... [code]
    LET a$="16384+x+32*y+1792 ... /> And then use VAL a$ to evaluate it when needed ... interpretterr has to search for a$ in the variable table ... space is quicker than a search through the program ...
    Alcoholics Anonymous Alcoholics Anonymous March 2007 Sinclair Basic
  • Printing UDGs in BASICAfter looking a little through Winer Milly's code, it struck me that I might be able to speed up my Cybernoid editor by replacing: FOR a=0 TO 31: PR…

    ... at each end of the string to OPEN and CLOSE the ... use of quotes inside the string is done by doubling ... BASIC interpreter does whilst parsing a string is to say:
    [ ... Output a single quote character
    Else
    Close the string
    BloodBaz BloodBaz March 2007 Sinclair Basic
  • Database + web programming queryI was thinking of the best way to implement the a book type-ins database thingy, and I thought something along these lines would be nice and simple: …

    ... (which entails finding yourself a web-host that supports PHP ... /> title (varchar(255) - i.e. a string of up to 255 chars ... probably...)
    [/code]
    Usually, a web host providing MySQL will ... all the typeins written by a particular author...

    ...
    gasman gasman March 2007 Chit chat
  • Database + web programming queryI was thinking of the best way to implement the a book type-ins database thingy, and I thought something along these lines would be nice and simple: …

    ... book_title (varchar(255) - i.e. a string of up to 255 chars ...
    book_id in typeins being a foreign key to books
    Busy trying to understand a hefty MSSQL database in which ... are going to have a DB sit down and ... in itself is not a bad thing as I ...
    dekh dekh March 2007 Chit chat
  • 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 …

    ... converted to a binary string. By binary string I mean ... that use the usual process of converting a ... store the result in a string. That is, if ... up with the result in a string M$ = "00000100".
    < ... can simply do some string splicing and extract ...
    Arjun Arjun May 2007 Sinclair Basic
  • Anyone good at VBA? Need helpHope someone can help. I have a file called models.txt which is just a list of items, e.g. Car Toaster Wheel etc. i.e. each line is separated by a …

    ... It can read a whole file to a string variable. The ... Function ReadFileToCombo(ByVal sFile As String, _
    ByRef ... /> sData As String, _
    saData() As String

    a logger engine and log Err ...
    Marcelo Marcelo May 2007 Chit chat
  • 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…

    ... BloodBaz;191160]Remember that Graphics 'A' will not PASTE correctly into ... do you store UDGs in a REM statement? Are you ... the UDG system var to a fixed offset from the ... /> ONELINER, but you might use a REM as DATA without the ... be shorter than sorage in a string.
    Dr BEEP Dr BEEP May 2007 Development
  • Game OptimisationBelow is a section of code Im using for movement enermy display and collision detect. What happens is that you move the sight with ,.qa and space do…

    ... of PRINT statements which involves a string concatenation step -- it's ... 'CHR$ 144;" "' so the string concatenation doesn't need to ... br /> How much difference would a compiled version make?
    [/ ... quote]

    I think a lot. Time to try :-) The ...
    Alcoholics Anonymous Alcoholics Anonymous June 2007 Sinclair Basic
  • Game OptimisationBelow is a section of code Im using for movement enermy display and collision detect. What happens is that you move the sight with ,.qa and space do…

    ... of PRINT statements which involves a string concatenation step -- it's better ... never used a basic compiler before.[/QUOTE]

    The string thing ... 't even have twigged that a concat string would take longer to ...
    Toxitalk Toxitalk June 2007 Sinclair Basic
  • 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…

    ... can determine the length of a string, put two strings together, ... have integer, floating point and string variables. Sinclair basic hides ...
    The address of a string can be stored in char* ... the characters from a string. In the above a[0] would contain ...
    Alcoholics Anonymous Alcoholics Anonymous June 2007 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…

    ... is to separate lines within a string using the '\n' character. ... '\n'.

    strtok() breaks a string apart by entering 0 bytes ... C indicates the end of a string with a 0 byte, what we ... the multiple lines contained within a string to be printed might ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 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…

    ... to change the contents of a string constant, but this has ... is therefore writeable. Since string constants get mapped into ROM ... memory space, but as a string constant the optimizer will try ... with other string constants.

    There is a subtle difference ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 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…

    ... ;200308]
    There is a subtle difference when using the ... array version when compared to a pointer. Array names are ... be incremented; it is just a numerical address. Hopefully this distinction ... need to so just used a string instead. Using the array was ...
    mulder mulder July 2007 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…

    ... " is the memory address of a string (recall that in C all ... a '0' byte). "strlen()" is a well-known function found in the string ... of the string. So "s+strlen(s)" will be a new memory ... the end of string s. itoa() also appends a terminating "0" byte ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 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…

    ... amp2 array.

    A uniformly distributed random number from ... h. printf() takes as argument a string to be printed that contains ... used in the printf() format string above is how we can ... integer to float conversion. "(float)(a) / (float)(b)" where two ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 Development
  • Galactic Equator of our Milky Way, is coming.Now this is a weird one, did you know freemasons know all about this one ;) Maya/Aztec Calendar, Astronomers today dont dispute what is about to hap…

    ... P

    It's a load of tripe.

    Firstly, it's not a conspiracy theory as no-one ... by obscure Californian scientists with a string of paranormal books to their ... planetary alignment and a "sudden" synchronous arrival at a specific location ...
    mel the bell mel the bell August 2007 Chit chat
  • Galactic Equator of our Milky Way, is coming.Now this is a weird one, did you know freemasons know all about this one ;) Maya/Aztec Calendar, Astronomers today dont dispute what is about to hap…

    ... P

    It's a load of tripe.

    Firstly, it's not a conspiracy theory as no-one ... by obscure Californian scientists with a string of paranormal books to ... planetary alignment and a "sudden" synchronous arrival at a specific location ...
    Lee Fogarty Lee Fogarty August 2007 Chit chat
  • Memories of childhoodWalking home today in the warmth of the summer sun, I got to thinking of more than one merry childhood memory from the summers that seemed endless at…

    ... ...they were like gold on a hot day.

    Playing ... model airplanes and then running a string from the top bedroom to ... yourself if you came across a tramp or watchman.

    First kiss at a game of dare and then ...
    beanz beanz August 2007 Chit chat
  • Memories of childhoodWalking home today in the warmth of the summer sun, I got to thinking of more than one merry childhood memory from the summers that seemed endless at…

    ... magnet, tying it to a string, then putting a pile of nails on ... the ground and leaning out a first floor bedroom window with ... nails[/QUOTE]

    Reminds a bit of when me and ... of the upstairs window. After a few successful sorties, we decided ...
    Collie Collie August 2007 Chit chat
  • 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…

    ... whitespace, after inputting u$ as a string (Nonsense in BASIC), so you ... check for the string length to make a safe conversion to ... using floating point INPUT to a numeric variable, and then multiplying ... BBC Basic, where a comma causes a question mark to appear ...
    Digital Prawn Digital Prawn August 2007 Development
  • WTF? Man wakes up during his own autopsy[url]http://uk.reuters.com/article/oddlyEnoughNews/idUKN149975820070914[/url] CARACAS (Reuters) - A Venezuelan man who had been declared dead woke u…

    ... 10;214191]This was actually a better situation...
    ... ]

    I have a book about that. Apparently it ... the body out for a couple weeks before burying ... up and there was a whole industry of coffins ... woke up you could pull a string and ring the bell, ...
    beanz beanz September 2007 Chit chat
  • 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. …

    ... :razz:[/QUOTE]

    a$[8] is a string array - an array of ... characters.
    a[8] is a number ...
    monty.mole monty.mole October 2007 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…

    ... . However the graphical characters take a fysical place in the line ... guess you could build up a string of arbritary length containing game ...
    Digital Prawn Digital Prawn October 2007 Development
  • 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…

    ... guess you could build up a string of arbritary length containing game ... might try to use such a ridiculous dirty trick to achieve ...
    gasman gasman October 2007 Development
  • How Spectrum changed our livesHave you ever thought about how Speccy changed your lives? Just imagine all of us in our youth age without Manic Miner or Knight Lore, without that…

    ... you type in a line at a time and not ... an interest in becoming a computer programmer and got ... school and left with only a string of E's F' ... gaining a 1st class honours and a scholarship for a Ph. ... a programmer. It was a childhood ambition seen though, if a ...
    Scottie_uk Scottie_uk October 2007 Sinclair Miscellaneous
  • 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…

    ... This gives the article a new dimension about coding ... techniques studied by analysing a single game (in ... I posted about replacing a string of LET statements with ... integers in an immediate string seems another good ... maybe that'd be a slightly different scope than ...
    Digital Prawn Digital Prawn October 2007 Development
  • Fastest Baud Rate On A Loader ?Following on (sort of!) from the thread about the best loading.... Which game(s) had the fastest (highest baud rate) ? I seem to remember a couple …

    ... , then I can feel a lot happier about my code ... versa) combined with, say, a string of 1s can push the ... Spectrum's audio hw has a more strict limit of ... at around 18kHz) places a limit to how fast you ... scheme used are selected as a compromise between speed and ...
    Alcoholics Anonymous Alcoholics Anonymous October 2007 Games
<1…567891011…34>

Latest Posts

  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on 12:41AM
  • i am currently listening to........
    dmsmith on April 15
  • I am currently watching.....
    zx1 on April 15
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 15
  • Cooperative Games.
    harriusherbartio on April 15
  • Celebrity deaths...
    mel the bell on April 15
  • Minor British Sports that did become games on the ZX Spectrum
    dm_boozefreek on April 15
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 15
  • Inside No.9 favourite episodes
    Maroc's Other Projection on April 15
  • How we became brainwashed by social media
    Scottie_uk on April 15

HitBox

Word Docs Hits
reverse 1.9K 2.2K
a 589.5K 1.7M
string 2.8K 5.1K

Related Threads

  • im looking for a basic routine that adds a numerical character to a stringim looking for a basic routine that adds a numerical character to a string. so a=1, "1", then a=0 "10", then a=1 "101......" and so on
  • How to separate a character from a number in a string?Hi <br /> I've been writing a kind of logo type program in BASIC that takes a string a$ from INPUT and then draws according to what you give it. Say…
  • A Spectrum, a couple of felt tip pens and a lot of free time on Sunday afternoons...In my opinion the best part of having a Spectrum was drawing a game map of the latest Ultimate game in the back page of my geography text book thereb…
  • I NEED A HAND FINDING A 3D CHESS GAME......WITH A HAND IN ITOk.Firstly - It's not one of the chess games in the archive with the word chess in the title.<br /> ##(Although - The ChessMaster2000 LOOKS very fami…
  • HELP!!! i need help turning a .wav files into a .tzx. im a new beginnerhi there. i hope anyone doesnt think im thick or owt but im having trouble in find the right program or the know how to convert all my 8bit mono .wav…
  • Free to a good home - Anyone in South Wales want a pile of Spectrum Games and a +3?Bit of an emergency - I'm moving out in a hurry and I don't have time to sell these!<br /> <br /> Is there anyone in South Wales who wants a fairly b…
  • A clever method of using a single 8-bit register to be used for two things at a timeI don't know if this is the way the SAVE routine in the Spectrum works. Anyway, this is what I've learned today.<br /> <br /> I've been commented the…
  • Overflow Detection while Scanning a Number from a StringI've got some strange behaviour from a subroutine that reads a number from a string and converts it to a 32-bit long. It's C's strtol if it helps to…
  • Sinclair QL: I'm searching for a Gold Card (or better a Super Gold Card) and a Super HermesIf someone here want to sell his Super Gold Card and Super Hemes I'm a big collector of QL stuff and I will pay very very well.<br /> <br /> Very tha…
  • Trying to find a magazine entry for a program I wrote as a child!Hi, <br /> <br /> Back when I was a child I wrote a program called "milkround" that we published in either your spectrum, your sinclair or sinclai…

Related Searches

  • print a char in asm
  • divmmc 3 a
  • testing a microdrive
  • create a batch file screen
  • change a letter
  • is there a system test for the spectrum
  • is there a system test tape for the spectrum
  • how to do a tzx file
  • how to create a tzx file
  • how to make a tzx file
  • composite screen goes yellow after a while
  • screen goes yellow after a while
  • validate input is a number
  • not a number
  • if input is not a number
  • reorder a string
  • inputting to a string array
  • detect a word string on the screen
  • colors in a string
  • attributes in a string

Copyright © 2024 World of Spectrum