declare i1 as binary-long
display i1
*> Optionally, the variables can be initialised inline
declare c2 as condition-value = true
display c2
declare string-list2 as string occurs 3 = table of string("Bill", "Ben", "LittleWeed")
以下から利用可能な、ローカル変数サンプルも参照してください。 Start > All Programs > Micro Focus Enterprise Developer > Samples > Visual COBOL Samples, under COBOL for .NET or COBOL for JVM (Windows) or $COBDIR/demo (UNIX).