Home > Contents > Index >
Expanded TOC   |    Accordion TOC   |    Annotated TOC   |    Index

 

ICS.GetCounter

Gets the value of a counter.

Syntax

Parameters

counter
Name of counter to get.

Returns

Value of counter.

Throws

Exception
If there is no counter with this name, the GetCounter() method returns null. This will cause Integer.parseInt() to throw a NumberFormatException.

Example

The following example gets the value of a counter:

See Also

RemoveCounter , SetCounter

 

  Home > Contents > Index >

FatWire JAVA Reference
Copyright 2005 by FatWire Software
All rights reserved.