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.017s
<1234567…34>
  • Printing at line 22...The last legal line in BASIC is line 21. Using Print #0 allows you to print on line 23, but how does one get access to line 22? Anyone?

    The last legal line in BASIC is line 21. Using Print #0 allows you to print on line 23, but how does one get access to line 22? Anyone?
    Arjun Arjun May 2004 Sinclair Basic
  • 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..)

    I 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..)
    mgmetro mgmetro July 2005 Sinclair Basic
  • Using INPUT without clearing last two lines of screen?I'm trying to print to the 22nd row of the screen using the ol' print #0 trick. Unfortunately, I require user INPUT which seems to wipe out the botto…

    I'm trying to print to the 22nd row of ... the screen using the ol' print #0 trick. Unfortunately, I require ... there a way of keeping line 22 intact and still use INPUT ...
    Arjun Arjun January 2009 Sinclair Basic
  • probably a stupid question about RST16I'm using the 'hello world' code borrowed from [url=http://equant-retrochallenge.blogspot.com/2008/07/zx-spectrum-assembly-programming-under.html]her…

    ... />
    [code]
    ld hl,line ; Print line
    call printline
    ret ... />
    printline: ; Routine to print out a line
    ld a,(hl ... is correct and everything (using 22,xx,yy sequences), any subsequent ...
    sack sack October 2011 Development
  • Adding TAP file contents to a Spectrum +3e DOS PartitionHello my fellow WoS'ers, This thread is a companion to a great little guide from a fellow AmiBayer [B]mnjnurney[/B] you can view his thread by [URL…

    ... )

    [code]
    30 PRINT #1 ; INK 7 ; BRIGHT 1 ... "
    [/code]This line prints (at the information line - line 22) in bright white ... " : SAVE "ELITE.LDR" LINE 10 : CLS :
    PRINT "LOADER SAVED"
    [/code ...
    Zetr0 Zetr0 January 2013 Games
  • Print vs 23659To be honest I could not think of a better topic title, although its not ideal. Anyway, I do recall reading ages ago that the reason you cannot no…

    ... normally get away with a PRINT AT 22,(whatever) is because it ... 23659,0
    20 PRINT AT 22,0;"Yes we all know ... POKE 23659,0
    20 PRINT AT 23,0;"Some text ... screen" then surely either both 22 and 23 should work, or ... can "get away with" 22 but not 23. Is the ...
    spider spider October 2017 Sinclair Basic
  • Celebrity Deathmatch- Manic Miner vs Jet Set WillySince the two games have come up in this forum recently, it has made me think back to how imaginative they were, and how much fun they were to simply…

    ... when something is printed at line 22 and/or 23. So it ... basic
    - The use of PRINT #1

    _________________
    Paul van der Laan Paul van der Laan December 2002 Games
  • New Compo IdeaI've had this idea and would like to know what do you think about it. I think that most of us here know how to code in BASIC. The problem with Specc…

    ... , 111

    * First line numbered "0"
    -------------------------

    line number) with 0 (see ... /> 10 REM START AFTER REM : PRINT "HELLO"

    POKE ... that it was the last line, as once a condition ...
    na_th_an na_th_an April 2005 Development
  • 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..)

    ...
    30 PRINT AT 22,0 ; "Hello"
    40 PRINT AT 22,31 ' "World ... newline at the end of line 22 overcomes this.
    Geoff Geoff July 2005 Sinclair Basic
  • 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..)

    My way to print at line 23:

    [code]

    10 POKE 23659,0 : IF Y
    Dr BEEP Dr BEEP October 2005 Sinclair Basic
  • BASin release 12b available for downloadOk, there were a few nasty bugs in the last release, so in fine SPIN team tradition here's a new release that possibly fixes those errors. In this r…

    ... a direct command such as "PRINT" or "LIST". This will ensure ... text appears, i.e beyond line 22 and useful for prompts to ... just says you cannot print to the input line.
    May I ...
    tiler tiler October 2005 Sinclair Basic
  • BASin release 12b available for downloadOk, there were a few nasty bugs in the last release, so in fine SPIN team tradition here's a new release that possibly fixes those errors. In this r…

    You see that "print at line 22 and 23" thread in this forum? Guess what information might be in there :)
    Philip Kendall Philip Kendall October 2005 Sinclair Basic
  • BASin release 12b available for downloadOk, there were a few nasty bugs in the last release, so in fine SPIN team tradition here's a new release that possibly fixes those errors. In this r…

    ... :
    You see that "print at line 22 and 23" thread in this ...
    tiler tiler October 2005 Sinclair Basic
  • 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..)

    Little-known fact: POKE 23659,1 and you can print to line 22 and 23, but if an error occurs BASIC won't crash (it'll just trash the screen with thich black and white stripes).

    I usually find it safer and less hassle to print to channel 0 or 1.
    robert@fm robert@fm January 2006 Sinclair Basic
  • Complex DRAW command?After looking at some Speccy code I noticed that the DRAW statement is used to draw lines (or it looked that way). On the Coco, the LINE command was…

    ... into a number of straight line segments. Geoff's example exploits ... 5
    20 CLS : PRINT "Square"
    22 PLOT 40,110: DRAW ... /.6666666666
    30 CLS : PRINT "Pentagon"
    32 PLOT 60 ... .16666666
    90 CLS : PRINT "Heptagon"
    92 PLOT 120 ...
    Marcelo Marcelo February 2007 Development
  • ZX Spectrum ScreenHello folks! I know, that ZX Spectrum has character resolution 32x24. And you can't write with PRINT AT command to last two lines. But, I know that…

    Print to channel 1.

    [code]
    10 PRINT #1;AT 0,0;"Line 22";AT 1,0;"Line 23"
    20 PAUSE 0
    30 REM :P :P :P :D
    [/code]
    Woody Woody December 2007 Development
  • ZX Spectrum ScreenHello folks! I know, that ZX Spectrum has character resolution 32x24. And you can't write with PRINT AT command to last two lines. But, I know that…

    ... ]
    PRINT #1;AT 0,0;"Line 22";AT 1,0;"Line 23"
    bobs bobs December 2007 Development
  • ZX Spectrum ScreenHello folks! I know, that ZX Spectrum has character resolution 32x24. And you can't write with PRINT AT command to last two lines. But, I know that…

    ... Woodys line to test it, perhaps like:

    [CODE]10 PRINT ... #1;AT 0,0;"Line 22";AT 1,0;"Line 23"
    PRINT #1;AT 0,0;"Line 22";AT 1,0;"Line 23"
    Rickard Rickard December 2007 Development
  • 'Hello World' in ASM ?Can someone show how to make the classic 'Hello World' print with ASM code ? I cant figure at this moment how to insert and handle strings with the s…

    ... />
    So:
    [code]PRINT CHR$16;CHR$n; will ... will select PAPER n
    PRINT CHR$18;CHR$n; will ... will select BRIGHT n
    PRINT CHR$20;CHR$n; will ... select OVER n
    PRINT CHR$22;CHR$y;CHR$x; will ... will display "Hello World!" on line 16 at column 10.
    Jonathan Harston Jonathan Harston June 2010 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. …

    ... - faster
    * How to print on line 22/23
    * POKEing ATTR_P to ...
    Paddy Coleman Paddy Coleman August 2011 Sinclair Basic
  • A new multicolor engine called BIFROST*I'm glad to announce the release of a new multicolor engine implemented by yours truly, including high quality 16x16 tiles designed by R-Tape: [IMG]…

    ... :

    [CODE] 230 PRINT AT 22,1;INK 7;"CHOOSE SPEED ... is unable to understand this line:

    [CODE] 190 LET ... ]

    [*] If the previous line is changed as follows, ZX ... ;"PRESS ANY KEY": PAUSE 0: PRINT AT 22,1,,: RETURN
    220 ...
    Einar Saukas Einar Saukas March 2012 Brand new software
  • A new multicolor engine called BIFROST*I'm glad to announce the release of a new multicolor engine implemented by yours truly, including high quality 16x16 tiles designed by R-Tape: [IMG]…

    ...
    [CODE] 230 PRINT AT 22,1;INK 7;"CHOOSE SPEED ... THEN POKE 56787,254: PRINT AT 20,25;" slow)"< ... THEN POKE 56787,198: PRINT AT 20,25;" fast)"< ... TO 240
    280 PRINT AT 22,1,,: RETURN[/CODE][/LIST ... reason ZX BASIC cannot compile line 190 properly, I still ...
    Einar Saukas Einar Saukas March 2012 Brand new software
  • Your Computer Magazine ScansPlease forgive my Intrusion. At the moment I'm trying to type in an Amstrad game called "Bomber" which was published in an issue of "Your Computer" O…

    ... CLS:PRINT CHR$(7);:PRINT "PLACE THE PRINTER ON LINE."
    310 PRINT #8 ... b$=inkey$
    590 PRINT CHR$(22);CHR$(1)
    600 LOCATE ... x%,y%:PRINT "_";
    610 PRINT ... CHR$(22);CHR$(0)
    CP/M User CP/M User December 2012 Chit chat
  • Why no PLOT, etc. on bottom two lines?I was pondering if there was any way to get PLOT, etc. to address the full screen from BASIC without having to write a few lines of assembler to bypa…

    ... to stop you doing a PRINT AT 22,0; or 23,0 ... /> You can do [b]PRINT AT 22,0;[/b]. Here's how ... 23659,0
    20 PRINT AT 22,0;"Line 23"'"Line 24"
    30 ... ] but you can print on the actual line as per the above ...
    chev chev August 2014 Sinclair Basic
  • Arrays in BASICHi so I'm making this crappy game and I wanna store the screen positions of some UDGs in in a 50x2 array cause I have 50 characters. So I made the ar…

    ... /> PRINT AT 22,0;"AT 22,0 to ...";AT 22,27;"22,31 ... a ROM bug, although AT 22,... works, AT 23,... ... 20 TO 23:
    PRINT #2 OR r>= ... gt;=low),0;"printing on line ";r;:
    NEXT r ... 1:
    PRINT CODE SCREEN$ (23,31): PRINT ATTR (23, ...
    Battle Bunny Battle Bunny October 2016 Sinclair Basic
  • Arrays in BASICHi so I'm making this crappy game and I wanna store the screen positions of some UDGs in in a 50x2 array cause I have 50 characters. So I made the ar…

    ... /> PRINT AT 22,0;"AT 22,0 to ...";AT 22,27;"22,31";< ... 20 TO 23:
    PRINT #2 OR r>=low ... >=low),0;"printing on line ";r;:
    NEXT r ... 1:
    PRINT CODE SCREEN$ (23,31): PRINT ATTR (23,31 ... a=score
    20 PRINT #2; AT 23,0; ...
    ivanb303 ivanb303 October 2016 Sinclair Basic
  • Print vs 23659To be honest I could not think of a better topic title, although its not ideal. Anyway, I do recall reading ages ago that the reason you cannot no…

    ... go as far as PRINT AT 22,x. I forget the ... if you simply want to print to the lower screen, it ... i] safer to use [b]PRINT #1; AT 0,x[/ ... is because it tries to print an error message in exactly ... />
    If the line number is 22, then subtracting 22 from it will ...
    Ast_A_Moore Ast_A_Moore October 2017 Sinclair Basic
  • Floppy drive fixI know this might be a long shot but does anyone know or does anyone fix floppy drives I ha e an nous discovery and the controller on the floppy driv…

    ... the table in RAM, line 22 then 'points' to the ... 192AND sgr=1024)
    100 PRINT ''" Tracks : ";tr'" Sects/Trk ... : ";sec
    110 PRINT " Sector size : ";sgr'" Sectors ... Sides : ";sid
    120 PRINT '"Disk size = ";(sec*(sid*tr ...
    roko roko December 2017 Wanted
  • Alternative to Poke 23659,0 to prevent a 'break in' to a Basic Program.Good morning everyone, My memory fails me these days but in the early days of programming I used to use Poke 23659,0 as a crude way of offering so…

    ... demonstrate the use of line 22 and 23 on the ... it only works for PRINT or PRINT TAB as we cannot ... here and PRINT AT will only work down to line 22. The ... this line to the program:

    [b]45 PRINT error ... is usually better to use PRINT #1; "text" which ...
    spider spider March 2018 Sinclair Basic
  • Microl - The Database - different versionsWith reference to [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0008076"]Microl - The Data Base[/URL], I have two different versions. The s…

    ... on a cassette with blue print. The second comes on a ... tape with red print. I have got both copies ... establish this I tested the print line command, Q key in first ...
    murtceps murtceps October 2008 Infoseek database
<1234567…34>

Latest Posts

  • European Software Titles with an English version
    harriusherbartio on 12:06PM
  • 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
  • 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
print 8.5K 20.4K
line 19.4K 33.7K
22 7.4K 10K

Related Threads

  • 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..)
  • Printing at line 22...The last legal line in BASIC is line 21. Using Print #0 allows you to print on line 23, but how does one get access to line 22? Anyone?
  • Utility to create long REM Line for storing M/C program - Maximum BASIC Line LengthHi,<br /> <br /> I think there was a Utlity or Toolkit to create a long REM-Line under 48k BASIC<br /> to store some MCode in it. <br /> <br /> …
  • Line - a one line arcade gameHi,<br /> <br /> I have published Line, a game written in a single line of BASIC. Thanks to Einar Saukas for additional optimisations, suggestions,…
  • how do i set this code up, so i can print more than one line of text?well i got it working but how do i set this code up, so i can print more than one line of text? with a loop or something? not sure where to start on …
  • Are line numbers considered the first statement in the line?I'm trying to understand how BASIC variables are stored in memory using the BASIC Programming manual and am puzzled by the results of the control var…
  • LINE-routine and other nice pieces of codeThe line-topic came in the end with a nice piece of fast coding.<br /> <br /> I think that there might be more of these routines out there (where-eve…
  • line routineWondered if anyone can help me out. I have been programming a 3d graphics library for the spectrum, in Machine code.<br /> <br /> The line routine th…
  • 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 …
  • On-line magazineswell we've got all crash scans online thanks to Mort, WoS and others. YS has a great site in YSRNRY. There is Crash online and Sinclair User online t…

Related Searches

  • betadisk rom line
  • catch 22
  • scroll line
  • print a char in asm
  • edit line
  • print variables
  • save line
  • draw line
  • delete line
  • remove line 128
  • print on border
  • line in
  • print leading zeroes
  • line draw
  • scroll screen down one line
  • poke 24 line
  • print one line
  • pnt line 22
  • print line break
  • print line 23

Copyright © 2024 World of Spectrum