Servertec   hasMoreElements( )
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 Side
Preprocessor
Executable
Samples
Sales
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-1999 Servertec. All rights reserved.
Last Modified: Tue Jan 26 22:19:03 EST 1999