Top Method Summary
Options Name Purpose
DATE AsDate () Interprets the value as a date Notes : Strings are converted with DATE (honouring the session date format); numbers are interpreted as the day count the ABL DATE (integer) conversion expects; other kinds yield the unknown value (SCL-5647) @return The date interpretation */
LOGICAL AsLogical () Interprets the value in a logical context Notes : Numbers are true when non-zero; "true"/"yes" strings are true; the unknown value yields the unknown value. @return The logical interpretation */
DECIMAL AsNumber () Interprets the value as a number Notes : Strings are converted with the period as the decimal point (0 when not numeric, see ParseDecimal); logicals yield 1 / 0; the unknown value yields the unknown value. @return The numeric interpretation */
CHARACTER AsString () Interprets the value as a string Notes : @return The string interpretation */
Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.Lexer.PreproValue Bool (logical) Creates a logical value Notes : @param plValue The logical value @return The PreproValue instance */
Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.Lexer.PreproValue DateVal (date) Creates a date value Notes : Named DateVal because DATE is an ABL reserved keyword and may not be used as a method name (SCL-5647) @param pdaValue The date value @return The PreproValue instance */
LOGICAL IsDate () Returns whether this value is a date Notes : @return Logical value indicating a date kind */
LOGICAL IsNumber () Returns whether this value is numeric Notes : @return Logical value indicating a numeric kind */
Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.Lexer.PreproValue Number (decimal) Creates a numeric value Notes : @param pdeValue The numeric value @return The PreproValue instance */
DECIMAL ParseDecimal (character) Parses numeric text with the period as the decimal point, independent of the session numeric format Notes : ABL source literals - and the values the reference ProEval evaluator handles (Float.parseFloat) - always use the period; a plain DECIMAL conversion would misread "2.6" as 26 in a EUROPEAN-format session (SCL-5647) @param pcValue The numeric text @return The decimal value */
Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.Lexer.PreproValue Str (character) Creates a string value Notes : @param pcValue The string value @return The PreproValue instance */
Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.Lexer.PreproValue Unknown () Creates the unknown value Notes : @return The PreproValue instance */

Top Constructor Summary
Options Name Purpose
PreproValue (integer) Constructor for the PreproValue class Notes : @param piKind The value kind */

Top Property Summary
Options Name Purpose
DATE DateValue
INTEGER Kind
INTEGER KIND_DATE
INTEGER KIND_LOGICAL
INTEGER KIND_NUMBER
INTEGER KIND_STRING
INTEGER KIND_UNKNOWN
LOGICAL LogicalValue
DECIMAL NumberValue
CHARACTER StringValue


Method Detail
Top

DATE AsDate ()

Purpose: Interprets the value as a date
Notes : Strings are converted with DATE (honouring the session date
format); numbers are interpreted as the day count the ABL
DATE (integer) conversion expects; other kinds yield the
unknown value (SCL-5647)

Returns DATE
The date interpretation
Top

LOGICAL AsLogical ()

Purpose: Interprets the value in a logical context
Notes : Numbers are true when non-zero; "true"/"yes" strings are
true; the unknown value yields the unknown value.

Returns LOGICAL
The logical interpretation
Top

DECIMAL AsNumber ()

Purpose: Interprets the value as a number
Notes : Strings are converted with the period as the decimal point
(0 when not numeric, see ParseDecimal); logicals yield 1 / 0;
the unknown value yields the unknown value.

Returns DECIMAL
The numeric interpretation
Top

CHARACTER AsString ()

Purpose: Interprets the value as a string
Notes :

Returns CHARACTER
The string interpretation
Top

Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.Lexer.PreproValue Bool (logical)

Purpose: Creates a logical value
Notes :

Parameters:
plValue LOGICAL
The logical value
Returns Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.Lexer.PreproValue
The PreproValue instance
Top

Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.Lexer.PreproValue DateVal (date)

Purpose: Creates a date value
Notes : Named DateVal because DATE is an ABL reserved keyword and may
not be used as a method name (SCL-5647)

Parameters:
pdaValue DATE
The date value
Returns Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.Lexer.PreproValue
The PreproValue instance
Top

LOGICAL IsDate ()

Purpose: Returns whether this value is a date
Notes :

Returns LOGICAL
Logical value indicating a date kind
Top

LOGICAL IsNumber ()

Purpose: Returns whether this value is numeric
Notes :

Returns LOGICAL
Logical value indicating a numeric kind
Top

Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.Lexer.PreproValue Number (decimal)

Purpose: Creates a numeric value
Notes :

Parameters:
pdeValue DECIMAL
The numeric value
Returns Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.Lexer.PreproValue
The PreproValue instance
Top

DECIMAL ParseDecimal (character)

Purpose: Parses numeric text with the period as the decimal point,
independent of the session numeric format
Notes : ABL source literals - and the values the reference ProEval
evaluator handles (Float.parseFloat) - always use the
period; a plain DECIMAL conversion would misread "2.6" as
26 in a EUROPEAN-format session (SCL-5647)

Parameters:
pcValue CHARACTER
The numeric text
Returns DECIMAL
The decimal value
Top

Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.Lexer.PreproValue Str (character)

Purpose: Creates a string value
Notes :

Parameters:
pcValue CHARACTER
The string value
Returns Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.Lexer.PreproValue
The PreproValue instance
Top

Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.Lexer.PreproValue Unknown ()

Purpose: Creates the unknown value
Notes :

Returns Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.Lexer.PreproValue
The PreproValue instance


Constructor Detail
Top

PreproValue (integer)

Purpose: Constructor for the PreproValue class
Notes :

Parameters:
piKind INTEGER
The value kind


Property Detail
Top

DATE DateValue


Returns DATE
Top

INTEGER Kind


Returns INTEGER
Top

INTEGER KIND_DATE


Returns INTEGER
Top

INTEGER KIND_LOGICAL


Returns INTEGER
Top

INTEGER KIND_NUMBER


Returns INTEGER
Top

INTEGER KIND_STRING


Returns INTEGER
Top

INTEGER KIND_UNKNOWN


Returns INTEGER
Top

LOGICAL LogicalValue


Returns LOGICAL
Top

DECIMAL NumberValue


Returns DECIMAL
Top

CHARACTER StringValue


Returns CHARACTER


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       19.09.2026 10:18:17