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 Pages Preprocessor Executable Samples Legal Contact Us |
A procedure is a subroutine or a function that performs a specific operation. Values maybe passed as arguments into a procedure. A subroutine is a procedure that does not return a value. A function is a procedure that 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 © 1998-2005 Servertec. All rights reserved. Privacy Statement. Last Modified: Sun Sep 04 14:56:08 EDT 2005