PreviousCharacterArray Up
Base Class Library


A COBOLComp5 stores a COBOL pic x(n) comp-5 enabling you to treat data of this type as an object. This class provides the basic comparison operators, display mechanism and hashing methods for comp5 items. Its main use is to provide templates for creating collections "ofValues", and associations.

See method newClass in class intrinsic.

Class-Control Entry

Include this entry in the Class-Control paragraph of any program using this class.

COBOLComp5 is class "comp5"



buttonClass Methods

Instance Methods

The list includes methods inherited from superclasses up to, but not including, intrinsic. For other inherited methods, click the button below:


asCharacterArray Returning lnkstring
asCOMP5 Returning lnkobjref
asCompX Returning anintrinsic
asHEX Returning lnkstring
asPicX Returning lnkstring
greaterThanbyLengthValue Using comparelength comparevalue
Returning bool
hash Returning ahashvalue
lessThanbyLengthValue Using comparelength comparevalue
Returning bool