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.014s
<1…18192021222324…34>
  • Speed of variables vs. POKE/PEEKGreetings, I'm sure I could probably find this out after careful study of the 48K ROM disassembly, but I was wondering whether someone already knew …

    ... in the area as do string arrays elements.
    LET a ... $ = "MAT"
    causes a new string to be created at the ... the fewest problems to the BASIC programmer but the maximum problems ...
    Geoff Geoff March 2007 Sinclair Basic
  • Speed of variables vs. POKE/PEEKGreetings, I'm sure I could probably find this out after careful study of the 48K ROM disassembly, but I was wondering whether someone already knew …

    ... (CTRL+ALT+V opens the BASIC variables table) and the following ... new value with the same string length).

    Interestingly, again ... are no scoping rules with BASIC variables - ones a variable is ...
    BloodBaz BloodBaz 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 ... string is done by doubling them up.

    What the BASIC ... interpreter does whilst parsing a string is to say ...
    Else
    Close the string
    End If
    [/code ...
    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: …

    ... is just as easy as Basic to pick up, incidentally, and ... (varchar(255) - i.e. a string of up to 255 chars ... less the same as the basic plain-text approach, except that ...
    gasman gasman March 2007 Chit chat
  • Anybody know what program can:Does anybody know of a PC program (or a "set") that can scan through a BASIC program, and replace "D*, D1 or D2" with two spaces. Then, save that sc…

    ... the (unlikely) cases where the string you're searching for is ... search and replace on the BASIC files.

    Si
    obo obo April 2007 Development
  • 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 …

    ... for bit operators but unfortunately BASIC doesn't have them!
    string. By binary string I mean that use ... with the result in a string M$ = "00000100".

    ... you can simply do some string splicing and extract each individual ...
    Arjun Arjun May 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…

    ... PRINT statements which involves a string concatenation step -- it's better ... use 'CHR$ 144;" "' so the string concatenation doesn't need to ... I've never used a basic compiler before.
    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…

    ... PRINT statements which involves a string concatenation step -- it's ... use 'CHR$ 144;" "' so the string concatenation doesn't need to ... used a basic compiler before.[/QUOTE]

    The string thing is ... 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…

    ... numbers, etc. There is "string" which contains functions that ... the length of a string, put two strings together ... floating point and string variables. Sinclair basic hides the distinction ... [/code]

    The string "hello" consists of the ascii ...
    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…

    ... happens to be where the basic system stores the location ... set. On returning to basic all printed text would look ... without any formatting
    // s = string to print
    // n = max ... to", equivalent to "" in Basic. Other common C comparison operators ...
    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…

    ... as in PRINT AT in basic), print centered text on ... bytes, remember) and another string containing delimiter characters (characters ... just before returning to basic. If you run the ... ]
    // get next line in string

    ++prow;
    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 so just used a string instead. Using the array was ... scrolling text message in ZX Basic"
    20 for n=1 ...
    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…

    ... without any formatting
    // s = string to print
    // n = ... message
    uchar *message; // message string
    uchar *m_ptr; // equals zero ... t56"); // call ROM isr so basic can coexist with scroller
    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…

    ... // append int to end of string
    extern void u_AppendLong(char ... ); // append long to end of string
    [/code]

    ... integer into an ascii string (similar to basic's STR$) and ... to the end of string "s". The basic equivalent to this would ...
    Alcoholics Anonymous Alcoholics Anonymous July 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…

    ... inputting u$ as a string (Nonsense in BASIC), so you need more ... logic to check for the string ... still occasionally thinking in BBC Basic, where a comma causes a ...
    Digital Prawn Digital Prawn August 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…

    ... never thought of using Sinclair BASIC in this way.[/QUOTE]
    Yes, the problem of ZX-BASIC insisting on the LET keyword ... possible because ZX-BASIC allows evaluation of arbitrary string and numerical expressions ...
    Digital Prawn Digital Prawn August 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…

    ... well-known function memcpy() (see string.h). This straight copy wipes ... anything normally done in Sinclair basic, but you should be starting ...
    Alcoholics Anonymous Alcoholics Anonymous September 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…

    ... are stripped off as in basic when INT() is used (C ... and present in z88dk's string library) memopi() to copy the ...
    Alcoholics Anonymous Alcoholics Anonymous September 2007 Development
  • What did Spectrum BASIC lack (and was BBC BASIC so good?)Over the years, I've read in various multi-format magazines, that BBC BASIC was probably the best BASIC available on an 8-bit machine. I've never use…

    ... basic -- it is IMO one of the better ones. The string ... go, powerful numerical (and string) expression evaluation are advantages over ... they?).

    Sinclair basic is tortuously slow. That and ... 3.5MHz z80. BBC basic was efficiently implemented in ...
    Alcoholics Anonymous Alcoholics Anonymous September 2007 Sinclair Basic
  • What did Spectrum BASIC lack (and was BBC BASIC so good?)Over the years, I've read in various multi-format magazines, that BBC BASIC was probably the best BASIC available on an 8-bit machine. I've never use…

    ... basic -- it is IMO one of the better ones. The string ... go, powerful numerical (and string) expression evaluation are advantages over ... they?).

    Sinclair basic is tortuously slow. That and ... development path that Sinclair basic was treated to.[/QUOTE ...
    na_th_an na_th_an September 2007 Sinclair Basic
  • What did Spectrum BASIC lack (and was BBC BASIC so good?)Over the years, I've read in various multi-format magazines, that BBC BASIC was probably the best BASIC available on an 8-bit machine. I've never use…

    ... , such as Laser Basic, Beta Basic and YS Mega Basic (the latter I ... that it added amazing powerful string slicing, powerful FuNctions, an extensible ... line in Sinclair BASIC).[/quote]


    Oh, string slicing, I ...
    ewgf ewgf September 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. …

    ... programmer :smile: I know that Basic has only 26 numeric variables ... need 27. numeric variable, not string array. Any trick??
    vladisek vladisek October 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. …

    I have spent all 26 letters (dim a.....dim z). You mean I can use string array "dim a$" in place of "dim a" ? Is there a relation between "dim a$" and "dim a" ? Why Basic has only 26 numeric variables? :-(
    vladisek vladisek 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…

    ... I originally misunderstood your original BASIC code fragment, the logic ... now notice the Sinclair BASIC behaviour of conditionally executing all ... new "AI move database string" into BASin resulted in ... effects (UDG characters entered the string at "\R" and "£", I ...
    Digital Prawn Digital Prawn 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…

    ... , and the documentation with First Basic was awful so much so ... and left with only a string of E's F's ...
    Scottie_uk Scottie_uk October 2007 Sinclair Miscellaneous
  • Loading ScreensWhat method of revealling loading screens can be achieved in BASIC or is the only one which can be done the one which reveals it line by line over an…

    ... can reveal the screen from BASIC in any way you want ... FDD-/HDD- interface MB02+ in Basic you simply have to type ... ) memory of speccy into one string! Using ( x1 TO x2) ... take a piece of this string e.g. of this ... you can POKE a whole string into memory from the ...
    ingo ingo October 2007 Development
<1…18192021222324…34>

Latest Posts

  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Fixed Speccy Software. And which games remained unfixed?
    John Elliott 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
  • Celebrity deaths...
    mel the bell on April 20

HitBox

Word Docs Hits
basic 24.7K 39K
string 2.8K 5.1K

Related Threads

  • getting c nonsense in basic when trying to load a program through a string in +3 basicstrangely if i use load s$(to 8), it says nonsense in basic but works when i run it. but when i execute the command without a line no it works withou…
  • Switch from 128k BASIC to 48k BasicHello,<br /> <br /> Is there a way to start off running a program in 128k basic (so that you can use the ramdisk facilities) but then switch back dow…
  • (Basic) Sinclair BASIC mode for EmacsI saw this [URL=http://www.worldofspectrum.org/forums/showthread.php?t=14622]post[/URL] regarding a Sinclair BASIC editing mode along with some Fuse …
  • Help with Visual Basic 6.0 vs Visual Basic.netI have a program that auto generates VB.Net code..... I know VB.net syntax and am happy with the code generated.<br /> <br /> However, I have been as…
  • What did Spectrum BASIC lack (and was BBC BASIC so good?)Over the years, I've read in various multi-format magazines, that BBC BASIC was probably the best BASIC available on an 8-bit machine. I've never use…
  • BASIC: Fast way of filling a string?Recently I decided to use string slicing to extract random numbers from a sequence in the one-liner Lottery picker:<br /> <br /> [quote]<br /> 20 RAN…
  • 48K BASIC to ZX81 BASIC conversion possible?Looking for an automated way of converting a BASIC program done on a<br /> 48K Spectrum to one for the ZX81. It's obvious that some things cannot<br …
  • ZX Basic 1.2.5 - a BASIC CompilerWell, my old post about ZX BASIC seems to be gone (maybe this phorum purges old threads?), so I started a new one.<br /> <br /> After more than 6 mon…
  • Basic BASIC help needed RNDHi all,<br /> <br /> I have recently re-discovered an old program I wrote in the early 90s which would do generate random lottery numbers.<br /> <br …
  • Star BASIC or *BASIC??? Anyone heard of this?Does anyone remember a thing called Star Basic or *basic?<br /> <br /> It was a tape that extended the BASIC instruction set and from memory you put …

Related Searches

  • rst8 return to basic
  • rst8 basic
  • return to basic
  • basic tips tricks
  • best basic manual
  • writing music in basic
  • play in basic
  • play command in basic
  • basic upper lower case
  • basic toupper tolower
  • basic lcase ucase
  • basic change upper lower case
  • basic
  • basic flicker
  • flicker basic
  • string graphic blocks basic
  • basic string
  • basic memory string copy
  • basic memory fast string copy
  • basic screen string

Copyright © 2024 World of Spectrum