Help Center
Help CenterFreeBASIC

Elsekeyword

Control flow statement for conditional branching

Control Flow Statementskeyworddocumented

Syntax

If expression Then [statement(s)] [Else [statement(s)]] [End If]
If expression Then : [statement(s)] [Else [statement(s)]] : End If
If expression Then
[statement(s)]
[ ElseIf expression Then ]
[statement(s)]
[ Else ]
[statement(s)]

Remarks

Differences from QB


  • None

See also


Example


See example at If...Then.

Reference

  • Documented in KeyPgElse.html