Servertec
if then-end
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
=
break
call
// /* */
continue
exit
include
return
If-Then-End
If-Then-Else-End
If-Then
-ElseIf-Then
-End
If-Then
-ElseIf-Then
-Else-End
Do-Loop
Do-Until-Loop
Do-While-Loop
Do-Loop-Until
Do-Loop-While
For-Next
For-Step-Next
Objects
Wrappers
Servlet
Server Side
Preprocessor
Executable
Samples
Sales
Legal
Feedback
Used to conditionally execute a block of statements when expression evaluates to true.
Syntax
if
expression
then
{ statement }...
end
Notes
expression
the expression to evaluate.
statement
any statements to process.
Example
if quantity > 0 then unitCost = totalAmount / quantity print( "Unit Cost: " + unitCost ) end
top of page
Copyright
© 1997-1999 Servertec. All rights reserved.
Last Modified: Tue Jan 26 22:19:03 EST 1999