Alintex Script's support for multiple script files on the command line, provides an effective mechanism for code reuse.
Scripts can consist of either a single primary scriptsub scripts - the same sub scripts used within other scripts.
Alintex Script's auto-referencing feature allows one to add functionality to an existing script by simply appending a script file to the command line.
For example, the following examples show three separate scripts sharing script files:-
1. > axscript showSales.vbx sql.cs textDialog.vb logging.cs isolatedStorage.vj
2. > axscript pageChanged.jsx web.vb textDialog.vb isolatedStorage.vj
3. > axscript zip.csx io.vj textDialog.vb logging.cs
Essentially, the script file becomes the equivalent of a traditional code library.
A Portable Script File can be created as an alternative to typing a long command line.
It is recommended that some thought be given to the division of functionality into separate script files so as to maximize reuse.
See Also