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

Blitz3DBlitzPlusBlitzBasic

ElseIf

ElseIf condition
Else If condition

Description

Another condition for the block form of If, tested only when the conditions before it were false. Else If written as two words means the same.

Examples

n = 15
If n < 10
	Print "small"
ElseIf n < 20
	Print "medium"
Else If n < 30
	Print "large"
EndIf
medium

Related Commands

Default, Else, EndIf, If

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally