http://www.aros.org AROS-Exec AROS-Exec Archives Power2People
kitty mascottop logo menu

Else

Index Prev Next


Name

Else

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

Copyright © 1995-2024, The AROS Development Team. All rights reserved.
Amiga® is a trademark of Amiga Inc. All other trademarks belong to their respective owners.