Skip to content
Narta Xaymar Dirks edited this page Oct 27, 2026 · 1 revision

Blitz3DBlitzPlusBlitzBasic

Then

If condition Then statement

Description

Part of the one-line If: the statements after Then run when the condition is true. It is left out in the block form of If.

Examples

If 2 > 1 Then Print "yes"
If 2 < 1 Then Print "no" Else Print "else part"
yes
else part

Related Commands

If, Select

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally