Servertec | iScript Preprocessor

Content Introduction Release Notes Features FAQs Requirements Installation Change Log Future Plans Knowledge Base Reference Manual Conventions Scriptlets Data Types Constants Variables Procedures Operators Statements Objects Wrappers Servlet Server Side Preprocessor Executable Samples Sales Legal Feedback |
iScript Preprocessor focuses on the needs of server side Web site developers. iScript Preprocessor can be used to generate static Web pages. #### Syntax sp { -c{ompile} } { -l{ist} } { -v{erbose} } [ -f{ile} filename | inputfile { outputfile } ] #### Parameters
-compile | compile only, generates pcode, but does not run.
-list | display statements, useful when debugging iScript scriptlets.
-verbose | display verbose error messages, useful when debugging iScript scriptlets.
filename | the name of the file containing files to process. Each line uses the following format: inputfile { outputfile } inputfile the name of the input file. outputfile the name of a output file.
filename | .out if none specified, changes the inputfile's extension to out.
inputfile | .ext if *.ext used, changes the inputfile's extension to the specified extension.
#### Returns
returncode | 0 if no errors occurred. -1 if an error occurred.
#### Example
    sp make.tf
    creates make.out using make.tf

    sp home.tf home.html
    creates home.html using home.tf

    sp page.jtf *.java
    creates page.java using page.jtf

    sp -file file.lst
    processes each file in file.lst
top of page
| Copyright © 1997-1999 Servertec. All rights reserved. Last Modified: Tue Jan 26 22:19:03 EST 1999