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 ) )
|
|