PreviousCobolComp5Association Up
Base Class Library


A Cobolcompx stores a COBOL pic x(n) comp-x enabling you to treat data of this type as an object. This class provides the basic comparison operators, display mechanism and hashing methods for compx 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.

cobolcompx is class "compx"



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 anintrinsic
asCompX Returning lnkobjref
asPicX Returning lnkstring
greaterThanbyLengthValue Using comparelength comparevalue
Returning bool
hash Returning ahashvalue
isCompX Returning lnkBool
lessThanbyLengthValue Using comparelength comparevalue
Returning bool