Shell Commands/Lab

From MorphOS Library

< Shell Commands

Lab - Defines a label in a batch file

No Template

Lab is used in script to define a label that is searched for by the Skip command. The label can be of any length, but must be alphanumeric. No symbols are allowed. If the label contains spaces, it must be enclosed in quotation marks.


If EXISTS ram:test
    SKIP oky

echo "File 'ram:test' does not exist."

LAB oky
echo "File 'ram:test' exists."