This chapter is a brief introduction to the ScriptEase scripting language and processor, including installation instructions.

Thank you for purchasing ScriptEase! You are now the owner of the most powerful scripting language available today. You have joined the growing number of computer users who are taking control of their applications with the power of ScriptEase.

The ScriptEase System

ScriptEase:Desktop has three main components: the ScriptEase language; the ScriptEase processor, the engine that interprets and runs a ScriptEase script; and the IDE debugger, to help you catch and correct errors in your scripts.

The ScriptEase language was designed to meet the need for a fast, portable and powerful language that is easy to learn and use. ScriptEase is fast because the most meticulous aspects of programming (memory management, declarations and garbage collection) are handled automatically, so you don't need to worry about them. It is less picky about syntax than other programming languages. Also, ScriptEase is interpreted as it runs, so you don't have to compile, debug and recompile your code before seeing the results of your work.

Since it is the interpreter that does the work of running the script, ScriptEase scripts themselves are independent of any operating system and are fully portable from one platform to another. A script written for OS/2 can run on a UNIX machine, for example. The exceptions to this rule involve functions that interact and define behavior specific to a particular system. A script that uses the Windows routines to create and move windows about the screen obviously will not work on DOS or UNIX, because these systems don't use windows.

The ScriptEase language is as powerful as the C language on which it is based. It uses the same commands, operators, and syntax, so if you know the basics of programming, you'll be able to learn ScriptEase in minutes. If you know nothing about programming at all, ScriptEase is the perfect place to start. The next two chapters describe the ScriptEase language in detail and give a brief tutorial.

The ScriptEase processor includes a command shell, with a prompt from which you can navigate through your file directories and directly launch scripts and commands. The processor can also be invoked from a batch or REXX file, or by double-clicking on a script's icon, depending on which operating system you're using.

The IDE debugger lets you watch the script move through the processor line by line, as it is being interpreted. you can keep track of the values of the script's variables in the watch window, and set breakpoints to suspend operation of the debugger if a certain line is reached or condition is met. If there is an error in your script, the debugger helps you quickly track, find, and correct it.

Supported Platforms

ScriptEase is available for the following operating systems: Windows 95 and NT, Windows 3.x, OS/2, DOS, UNIX, Linux, Aix, FreeBSD, Sun OS, and Solaris.

Installing ScriptEase

Installing ScriptEase is an easy two-step process. First, regardless of which operating system you use, run the program INSTALL.BAT on the ScriptEase installation disk. This program will prompt you for which versions of ScriptEase you wish to install, and then copy the appropriate files to your disk.

To run INSTALL.BAT, put the installation disk in drive A: and type the following from the command line (press ENTER after each line):


CD \


To complete the installation, run the version of ScriptEase that you installed in step one. The first time any version of ScriptEase is run, it will run its installation script and modify itself for the appropriate operating system.

The ScriptEase Sample Libraries

Included on the ScriptEase installation disk is a large collection of sample scripts and utilities written in ScriptEase. When you install ScriptEase, these libraries will be copied to the same directory as the ScriptEase processor. These utilities may be used as is, or modified to suit your own needs. You can take them apart and study them as examples of how to use the commands and functions of the ScriptEase languages. Additional scripts may be found on the Nombas website,

If you have written any scripts or utilities you feel may be useful to other people, please email them to us and we will make them available to all on our website. The "mail us" button on the web pages will take you to a page where you can copy and paste your script and then email it back to us. Select "Upload ScriptEase Script" as the recipient of the message.

At the top of the scripts in the sample libraries is a peculiar form of comment consisting of three tildes and a number after the comment indicator (//~~~2 or ::~~~1, e.g.), followed by a brief description of the script. This comment is used internally by Nombas and has no bearing on the functioning of the script


The extension for a ScriptEase script is .cmm. The processor recognizes all files ending in .cmm as scripts and will try to interpret them if asked to do so. When a script is run from the ScriptEase environment (either from the ScriptEase shell's command line or by explicitly calling the ScriptEase processor from the OS command line), the .cmm extension is implicitly understood and does not need to be written out.

Cmm stands for C minus minus. It is the original name for the ScriptEase language, which is based on the C language, minus the time consuming and meticulous aspects that make C difficult to learn and use.

Other members of the ScriptEase product suite

All of Nombas' products are based upon the ScriptEase language. In addition to ScriptEase:Desktop, Nombas produces ScriptEase:WebServer Edition, which lets you use ScriptEase as a CGI scripting language; and ScriptEase:Integration SDK, which allows developers to include ScriptEase as a macro language in their own applications.

For more information on these and other offerings from Nombas, visit our website at