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")
ローカル変数のサンプルも参照してください。このサンプルは、[スタート > すべてのプログラム > Micro Focus Enterprise Developer > Samples > Visual COBOL Samples] の COBOL for JVM の下にあります。