Skip to content
Narta Xaymar Dirks edited this page Oct 28, 2026 · 5 revisions

Blitz3DBlitzPlusBlitzBasic

Print

Print:Void string:String=\
Parameter Mode Type Default Description
string In String \ The text to write. Defaults to an empty line.

Description

Writes a line of text at the text cursor and moves the cursor to the start of the next line. When it reaches the bottom of the window the picture scrolls up. With no text it only moves the cursor. Print draws straight onto the screen, so it needs no Flip. For text that is part of a frame that is drawn into the back buffer, use Text.

Differences

  • Without a graphics window the text goes to the console instead.
  • The text is drawn in the drawing color, in the current font, onto the front buffer.

Examples

Graphics 320, 240, 0, 2
Cls
For i = 1 To 5
	Print "Line number " + i
Next
Print
Print "Print draws on the screen"
WaitKey

Media

Print

Related Commands

LoadFont, Locate, SetFont, StringHeight

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally