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.008s
<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…

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

    PRINT "[THIS TEXT SHOULD CONTAIN A STRING OF THE 32 ... to UDG mode in the PRINT statement?
    [/QUOTE]
    I ...
    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…

    ... />
    PRINT "[THIS TEXT SHOULD CONTAIN A STRING OF THE 32 ... Make your own characterset and print the first self defined 32 ... guess is that you cannot PRINT the " character (CHR$34). ... Streuth![/QUOTE]

    PRINT """"

    [QUOTE]
    ...
    Dr BEEP Dr BEEP 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…

    ... :
    The use of PRINT """" to display a single ... each end of the string to OPEN and CLOSE ... of quotes inside the string is done by doubling ... interpreter does whilst parsing a string is to say:
    Else
    Close the string
    End If
    ...
    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: …

    ... again looking for matches, then print them. The PHP language is ... (varchar(255) - i.e. a string of up to 255 chars ...
    gasman gasman 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 ... with the result in a string M$ = "00000100".

    Then ... you can simply do some string splicing and extract each individual ... correspond to a bit and print the map accordingly.

    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…

    ... a couple of PRINT statements which involves a string concatenation step -- it ... use 'CHR$ 144;" "' so the string concatenation doesn't need to ...
    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…

    ... a couple of PRINT statements which involves a string concatenation step -- ... 'CHR$ 144;" "' so the string concatenation doesn't need to ... .[/QUOTE]

    The string thing is interesting, I wouldn ... 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…

    ... or write output (eg print text to the screen). Instead ... numbers, etc. There is "string" which contains functions that can ... integer, floating point and string variables. Sinclair basic hides ... /> [/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…

    ... without any formatting
    // s = string to print
    // n = max number ... a pointer to the string message to print (remember strings in C ... from the string to draw. We may want to print only a ... portion of the string for two ...
    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…

    ... to so just used a string instead. Using the array was ... to (256-32)
    30 print at 0,0;m$ (n ...
    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…

    ... * doing the equivalent :) The basic string slice operation creates a new ... temporary string just like you were doing ... redo the d_Print() routine to print a maximum of n chars ... , alpos, 32); // print a max of 32 chars from string alpos at ...
    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…

    ... without any formatting
    // s = string to print
    // n = max number ... of chars of s to print
    // buf = destination address ... message
    uchar *message; // message string
    uchar *m_ptr; // equals zero ...
    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…

    ... naturally fits a ZX BASIC string array (i.e. 2 ... a simple string. This increases the complexity of the "PRINT AT" statements ... . Net space saved by flattening string array - something like a row ... adding parts of the maze string to itself, saving space defined ...
    Digital Prawn Digital Prawn 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…

    ... . printf() takes as argument a string to be printed that contains ... above that mean "print an integer here" and "print a floating point ... printf() format string above is how we can print a single "%" sign ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 Development
  • cant format answereHi all, I am writing a short basic program that will convert a frequency to a length. 10 print "Spectrum antenna length conversion." 20 let w = 468 …

    ... d$(1)"." TO )
    50 PRINT ant,anti;".";d$( TO 2 ... the 2nd DP.
    The string slicing in line 42 is ... , as d$ becomes a null string. I'll post an alteration ...
    Battle Bunny Battle Bunny July 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…

    ... (z=0) to keep the string slicing in bounds IIRC, but ...
    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…

    ... /> I'm guessing this means PRINT things without altering the existing ... your cleverly compressed colour information string, without exceeding the space limit ...
    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…

    ... /> I'm guessing this means PRINT things without altering the existing ... your cleverly compressed colour information string, without exceeding the space limit ...
    Einar Saukas Einar Saukas 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…

    ... /> 1. data processing
    2. print/draw to the screen
    string and numerical expressions in DATA ...
    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…

    ... will not be used to print double width characters for the ... SP1 means we can simply PRINT AT background UDGs and move ... well-known function memcpy() (see string.h). This straight copy wipes ...
    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…

    ... of UDG's and the PRINT AT statement - much more useful ... that it added amazing powerful string slicing, powerful FuNctions, an extensible ... ).[/quote]


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

    ... the result is an empty string where "+0" is added, returning ... f=1 TO 21:
    PRINT AT f,0;f:
    PRINT AT 0,g*7;g ... /8 bytes frome the
    string as result, depending on the ... /> LET k=CODE INKEY$:
    PRINT OVER 1;AT y,x ...
    Dr BEEP Dr BEEP September 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…

    [QUOTE=Einar Saukas;220563]The string looks correct. Maybe it's ... ?[/QUOTE]

    Yes, the string looks correct to me too ... a line of code to print relevant variables out onto row ...
    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…

    [QUOTE=Einar Saukas;220617][CODE]
    ...
    NEXT i:
    LET k=INT(z/9-.2):
    PRINT AT k+k,z+z-18*k-4;PAPER 3;" " AND i
    Einar Saukas Einar Saukas 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…

    ... this:

    [CODE]
    PRINT '''c(2)+c(6);"x ... the end of the long string. This way, if there are ...
    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…

    Here's the next version, based on your ideas:-
    [url]http://www.mediafire.com/?chjkcwfgmzz[/url]

    I have for now took the second option of preserving the "Return to INPUT" behaviour if an invaild move is specified, and instead have applied ...
    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…

    ... for choosing the best AI string), I will describe now a ... =0 TO 15-s:
    PRINT AT b+2,a+a ... this:

    [CODE]
    PRINT AT 19,o;" " AND o ... this:

    [CODE]
    PRINT AT 19,x;" ";o$;o ...
    Einar Saukas Einar Saukas October 2007 Development
  • Your help needed![FONT=Arial]there are [URL="http://www.worldofspectrum.org/neededscreens.html"]a number of titles[/URL] (146) that still lack an in-game scre…

    ... it is one that can print text out rotated 90 degrees ... invoked by setting a BASIC string variable, and then executing RANDOMIZE ... it will then print the contents of that string variable sideways.
    Digital Prawn Digital Prawn October 2007 Games
  • 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…

    ... the analysis code would immediately print aligned pieces as flashing whenever ... .g. a player has a diagonal row on the board as ... of aligned pieces
    6 PRINT board, flashing aligned pieces
    PRINT PEEK 23618 inside the oneliner ...
    Digital Prawn Digital Prawn November 2007 Development
<1…567891011…34>

Latest Posts

  • i am currently listening to........
    Paradigm Shifter on 12:26AM
  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on April 16
  • Celebrity deaths...
    mel the bell on April 16
  • Cooperative Games.
    Paradigm Shifter on April 16
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 16
  • European Software Titles with an English version
    harriusherbartio on April 16
  • How we became brainwashed by social media
    Antiriad2097 on April 16
  • How Do You Categorize Your Speccy Software and Games?
    Antiriad2097 on April 16
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 16
  • I am currently watching.....
    zx1 on April 15

HitBox

Word Docs Hits
print 8.5K 20.4K
string 2.8K 5.1K
diagonal 443 528

Related Threads

  • How to print with colour using DiscipleHi!<br /> <br /> I was wondering if there is any way of printing in colour using the Disciple. I am using an Epson Stylus 600 Printer with one of my …
  • Sinclair User: Blue Print Double DragonI'm not sure what issue the Blue Print of Double Dragon appeared, I think it was issue 78 (September 88)<br /> <br /> Even a scan would do. Cheers
  • Scrolling string variablesCan anyone help me with this for a program I'm writing on the spectrum.<br /> There was a command in speccy basic that would let you scroll a string …
  • 42 column text, Sinclair Print Utilities, etcI'm currently developing the next of the ZXIF text adventures - "43 Minutes" and, as a side issue, I'm really interested in 42 column text for this g…
  • Print 'n' Plotter SPRITE MACHINEJust got this from an ebay seller this afternoon. I just TZXd it and sent it to the Steve at the vault, yet it might be a while before it gets put up…
  • String slicing for UDG definitionHey everyone.<br /> <br /> Got a bit of a string slicing/string to variable conversion problem.<br /> <br /> 10 let a$="01100110"<br /> 20 let pokeva…
  • print at line 22 and 23I have a faint recollection of POKES to allow print at 22,x and 23,x, anyone know what they are? (rather than using the print #0 #1 stuff..)
  • PRINT AT in assemblerHello everyone,<br /> <br /> I am very new to this forums. Like perhaps many others I had a Spectrum as a child and did pretty much simple BASIC prog…
  • Method to read byte as binary string rather than dec?Hi all<br /> <br /> Am fiddling around with the screen buffer and have written a routine to scan the screenbuffer into upper ram and then write it ba…
  • Print routine for BASIC (or BASin)For anyone interested there's a crappy binary here to print characters from BASIC at pixel positions. Import the binary at 60000, USR 60000 to initia…

Related Searches

  • print a char in asm
  • print variables
  • ld bc eostr string
  • print on border
  • reorder a string
  • print leading zeroes
  • change characters in string
  • print at 23
  • print through
  • asm text print
  • assembly print text
  • assembly print text at pixel
  • diagonal
  • diagonal hex
  • diagonal movement
  • print one line
  • rst 16 print routine
  • inputting to a string array
  • print usr
  • print string vertically

Copyright © 2024 World of Spectrum