Servertec   hasMoreElements( )
Content
Introduction
Release Notes
Requirements
Installation
Change Log
Future Plans
Knowledge Base
Reference Manual
Conventions
Scriptlets
Data Types
Constants
Variables
Procedures
Operators
Statements
Objects
Array
Cookie
Date
File
FileDescriptor
Hashtable
Internet
IO
JDBC
Number
Object
Properties
Random
Request
Response
SqlTypes
Stack
StreamTokenizer
String
StringBuffer
StringTokenizer
System
Vector

Wrappers
Servlet
Server Side
Preprocessor
Executable
Samples
Legal
Feedback

 


Returns whether the specified enumeration object has more elements.

Syntax

    hasMoreElements( enumeration )
    enumeration.hasMoreElements( )

Parameters

    enumeration the enumeration object to check.

Returns

    boolean true if the given enumeration has more elements
    false if the given enumeration does not have more elements

Example

    if enum.hasMoreElements( ) then
        println( enum.nextElement( ) )
    end
    
 top of page
 Built with iScript Copyright © 1997-1998 Servertec. All rights reserved.
Last Modified: Tue Oct 20 16:01:39 EDT 1998