top logo menu kitty mascot
AROS.ORG Forum Software Bounties

Else

Index Prev Next


Name

Else

Location

C:

Function

Separate the 'true' and 'false' blocks of an If statement. The block
following an Else command is executed if the condition in the previous
If statement was false.

Example

If EXISTS Sys:Devs
    Copy random.device Sys:Devs/
Else
    Echo "Cannot find Sys:Devs"
EndIf

See also

If EndIf