Previous Topic Next topic Print topic


NETJVM 

Specifying Type Names

You can refer to class and interface names in managed COBOL by using a type-specifier, which can be defined by using:

To define a namespace to represent long class names so that you need to type a short name only, use the ILUSING directive.

In .NET COBOL, to refer to a generic type using the TYPE literal syntax, you enumerate the generic parameters within square brackets. The following example declares myNames as an item of type Dictionary with both generic parameters set to string (System.String):

myNames type System.Collections.Generic.Dictionary[string, string].
Previous Topic Next topic Print topic