Creating WIL Script Files

 

Next Topic

 

The WIL Tutorial

§         Topic by Topic

§         The Tutorial Course

§         The Complete WIL Tutorial

 

Getting started

Using WIL

Reference

Notes

 

 

WIL is a script file interpreter. Before you can do anything useful with the WIL interpreter, you must have at least one WIL script file to interpret.

Your program installation puts several sample scripts into your directory. Suitable icons for these scripts were added to the group in the Windows Program Manager, or to the usual place programs are accessed in your version of Windows.

WIL script files must be formatted as plain text files. You can create them with WinBatch Studio, the Windows Notepad or another text editor.

Word processors like WordPerfect, WordPro, and Word can also save scripts in plain text formatted files.

The .WBT (WinBatch) extension is used in this hlp file for batch file extensions, but, you can use others just as well. If you want to click on a batch file and have Windows run it, be sure that you associate it in Windows with your executable program file. When you installed your program, an association was automatically established between the interpreter and .WBT files.

Each line in a script file contains a statement written in WIL, Windows Interface Language.

A statement can be a maximum of 2048 characters long. Indentation does not matter. A statement can contain functions, commands, and comments.

You can give each script file a name which has an extension of WBT (e.g. TEST.WBT). We'll use the terms WinBatch script files and WBT files interchangeably.