Servertec defined( )
Reference Manual
Conventions
Scriptlets
Data Types
Constants
Variables
Procedures
Operators
Statements
Objects
Array
Config
Context
Cookie
Date
Enumeration
File
FileDescriptor
Hashtable
Internet
IO
JDBC
Number
Object
defined( )
equals( )
forName( )
getClass( )
getName( )
hashCode( )
instanceOf( )
isDate( )
isDouble( )
isInstance( )
isInteger( )
isLong( )
isNull( )
isObject( )
isString( )
newInstance( )
Object( )
toString( )
undefine( )

Properties
Random
Request
RequestDispatcher
Response
Session
SqlTypes
Stack
StreamTokenizer
String
StringBuffer
StringTokenizer
System
Vector

Wrappers
Servlet
Server Pages
Preprocessor
Executable

Return

 

Returns whether the specified variable exists.

Syntax

    defined( variable )
    variable.defined( )

Parameters

    variable the name of the variable to check

Returns

    boolean true if the specified variable exists
    false if the specified variable does not exist

Example

    if defined( "var" ) then
        var = var + 1
    end
    
 top of page
Copyright © 1998-2005 Servertec. All rights reserved.
Privacy Statement.
Last Modified: Mon Sep 05 14:25:25 EDT 2005