background image
<< Customizing SQABasic scripts | SQABasic Header Files >>
<< Customizing SQABasic scripts | SQABasic Header Files >>
sbl Library Source Files
Customizing SQABasic Scripts
3-15
Creating and Editing .sbl Library Source Files
To create a new .sbl library source file:
1. Click File > New > SQABasic File.
2. Click Library Source File, and then click OK.
You name the file (or accept the default name) the first time you save it.
A library file cannot have the same name as a script file that calls it. For instance,
Myscript.rec cannot call a function in Myscript.sbl.
To edit an existing .sbl library source file:
1. Click File
>
Open
>
SQABasic File.
2. In Files of type, select Library Source Files (*.sbl).
3. Click the file to edit, and then click Open.
Creating and Editing .rec Library Source Files
To create a new .rec library file:
1. Click File
>
New
>
Script.
2. Type the name of the file to create and optionally, a description.
3. Click the file type GUI if it is not already selected.
4. Click OK.
To edit an existing .rec library file:
1. Click File
>
Open
>
Script.
2. Click the name of the file to edit, and then click OK.
Adding Procedures to the Global Library Source File
For your convenience, Robot provides a blank library source file called Global.sbl.
You can add procedures to this library source file and/or create your own.
To open Global.sbl:
1. Click File > Open > SQABasic File.
2. Set the file type to Library Source Files (*.sbl).
3. Select global.sbl, and then click Open.