Servertec Procedures
Reference Manual
Conventions
Scriptlets
Data Types
Constants
Variables
Procedures
Operators
Statements
Objects
Wrappers
Servlet
Server Pages
Preprocessor
Executable

Return

 

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: Mon Sep 05 14:25:25 EDT 2005