Namespace: Consultingwerk
Class 
CharacterType Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:CharacterType
Purpose:Contains supporting routines for ABL CHARACTER Variables
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sat Jun 02 10:58:12 CEST 2012



Top Method Summary
Options Name Purpose
+ CHARACTER EmptyStringForUnknown (character) Returns the source string or "" when the source string was ?
+ LOGICAL IsNotNullOrEmpty (character) Verifies if the passed in character string is not unknown value or empty
+ LOGICAL IsNullOrEmpty (character) Verifies if the passed in character string is the unknown value or empty
+ CHARACTER ParseUnknownValue (character) Parses a String for unknown value, returning ? for "?"

Top Constructor Summary
Options Name Purpose
- CharacterType () Disallow instance creation


Method Detail
Top

PUBLIC CHARACTER EmptyStringForUnknown (character)

Purpose: Returns the source string or "" when the source string was ?
Notes:

Parameters:
pcValue CHARACTER
The source string
Returns CHARACTER
The source string or ""
Top

PUBLIC LOGICAL IsNotNullOrEmpty (character)

Purpose: Verifies if the passed in character string is not unknown value
or empty
Notes:

Parameters:
pcCharacter CHARACTER
The character to compare
Returns LOGICAL
True when the passed in character value is not ? or Empty
Top

PUBLIC LOGICAL IsNullOrEmpty (character)

Purpose: Verifies if the passed in character string is the unknown value
or empty
Notes:

Parameters:
pcCharacter CHARACTER
The character to compare
Returns LOGICAL
True when the passed in character value is ? or Empty
Top

PUBLIC CHARACTER ParseUnknownValue (character)

Purpose: Parses a String for unknown value, returning ? for "?"
Notes:

Parameters:
pcValue CHARACTER
The character string to parse
Returns CHARACTER
The character value of ? when the string was "?"


Constructor Detail
Top

PRIVATE CharacterType ()

Purpose: Disallow instance creation
Notes:



©2006-2019 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.08.2019 23:25:50