Top Method Summary
Options Name Purpose
INTEGER ConvertFromString (character) Converts a character value to an integer value without raising an error when values do not fit into integer
INTEGER ConvertFromString (character, integer) Converts a character value to an integer value without raising an error when values do not fit into integer
LOGICAL IsNegative (integer) Verifies if the passed integer is negative
LOGICAL IsNotNullOrZero (integer) Verifies if the passed in integer value is not unknown value or 0
LOGICAL IsNullOrEmpty (integer) Verifies if the passed in integer value is the unknown value or 0
LOGICAL IsPositive (integer) Verifies if the passed integer is positive
CHARACTER NumericString (character) Returns the numeric part from the beginning of a character value

Top Constructor Summary
Options Name Purpose
IntegerType () Disallow instance creation


Method Detail
Top

INTEGER ConvertFromString (character)

Purpose: Converts a character value to an integer value without raising an
error when values do not fit into integer
Notes:

Parameters:
pcValue CHARACTER
The Character value to convert
Returns INTEGER
The integer value
Top

INTEGER ConvertFromString (character, integer)

Purpose: Converts a character value to an integer value without raising an
error when values do not fit into integer
Notes:

Parameters:
pcValue CHARACTER
The Character value to convert
piDefault INTEGER
The default value to return when the character value does not return a valid integer
Returns INTEGER
The integer value
Top

LOGICAL IsNegative (integer)

Purpose: Verifies if the passed integer is negative
Notes:

Parameters:
piInteger INTEGER
The integer value to compare
Returns LOGICAL
True when the passed in integer value is less than 0
Top

LOGICAL IsNotNullOrZero (integer)

Purpose: Verifies if the passed in integer value is not unknown value
or 0
Notes:

Parameters:
piInteger INTEGER
The integer value to compare
Returns LOGICAL
True when the passed in integer value is not ? or 0
Top

LOGICAL IsNullOrEmpty (integer)

Purpose: Verifies if the passed in integer value is the unknown value
or 0
Notes:

Parameters:
piInteger INTEGER
The integer value to compare
Returns LOGICAL
True when the passed in character value is ? or 0
Top

LOGICAL IsPositive (integer)

Purpose: Verifies if the passed integer is positive
Notes:

Parameters:
piInteger INTEGER
The integer value to compare
Returns LOGICAL
True when the passed in integer value greater than 0
Top

CHARACTER NumericString (character)

Purpose: Returns the numeric part from the beginning of a character value
Notes:

Parameters:
pcString CHARACTER
The source string
Returns CHARACTER
The string that contains only the numbers from the beginning of the source string


Constructor Detail
Top

IntegerType ()

Purpose: Disallow instance creation
Notes:



©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       30.03.2026 11:04:37