Servertec | Procedures

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 |
A procedure is a subroutine or a function which performs a specific operation. Values maybe passed as arguments into a procedure. A subroutine is a procedure which does not return a value. A function is a procedure which returns a value. #### Syntax { variable = } identifier ( { expression { , expression }... } ) #### Notes
variable | the variable to assign a value to.
identifier | the name of the procedure to perform.
expression | any expression to evaluate as a parameter to the procedure.
#### Example
    value = input("Enter a number")
    if value = "" then
        exit(0)
    end

    print( abs( value ) )
top of page
| Copyright © 1997-1999 Servertec. All rights reserved. Last Modified: Tue Jan 26 22:19:03 EST 1999