You are here: Home > HyperDrive > COLORSPACE UDMA > SDL Scripting Language > 5) Script Control Commands

4) Script Control Commands

A) SDL

Feature: Indicates the beginning of the SDL script. This must be the first command of the SDL script.
Format: SDL <script name >
Parameters: <script name > will be displayed on the LCD screen title bar.
Return Value: None
Example: SDL Hello World

B) SDL_END

Feature: Indicates the end of the SDL script. This command can occur anywhere in the SDL script and will terminate the script immediately.
Format: SDL_END
Parameters: None
Return Value: None
Example: SDL_END

C) IFEQU / ENDIF / ELSE

Feature:
IFEQU (if equal) compares if two parameters are equal.

If equal, the script will continue until a ELSE or ENDIF command. Any script between the ELSE and ENDIF command is skipped.

If not equal, the script will skip to next ELSE command and continue until a ELSE or ENDIF command.

Format:
IFEQU <parameter 1> <parameter 2>
<script 1>
ELSE
<script 2 >
ENDIF

Parameters: None
Return Value: None

 

(Your shopping cart is empty)