in the example i can see any changes in the syntax
1. colonconlonsyntax.cbl
move 5 to v::x
move 3 to v::y
2. localvariables.cbl
declare result as numTd = ws-num1 + ws-num2
3. mergesort.cbl
see arr::numbers-length, section with Parameters, declare
4. Parameterizedsection.cbl
section with Parameter
fibonacci section (n as binary-long) returning result as binary-long.
i know this possibility from SAP ABAP, but never seen before in cobol
is there a complete list of all changes on cobol syntax and the new possibilities?
Thanks in advance
cg
Page 1 / 1
in the example i can see any changes in the syntax
1. colonconlonsyntax.cbl
move 5 to v::x
move 3 to v::y
2. localvariables.cbl
declare result as numTd = ws-num1 + ws-num2
3. mergesort.cbl
see arr::numbers-length, section with Parameters, declare
4. Parameterizedsection.cbl
section with Parameter
fibonacci section (n as binary-long) returning result as binary-long.
i know this possibility from SAP ABAP, but never seen before in cobol
is there a complete list of all changes on cobol syntax and the new possibilities?
Thanks in advance
cg
New features can be found in the product Release Notes or under the New Features section of the documentation which can be found here: Those features were actually new in 9.0 so you would have to look at that section. This only provides a brief description of the new features. The best place to find examples is in the Samples Browser which appears to be what you are looking at.
in the example i can see any changes in the syntax
1. colonconlonsyntax.cbl
move 5 to v::x
move 3 to v::y
2. localvariables.cbl
declare result as numTd = ws-num1 + ws-num2
3. mergesort.cbl
see arr::numbers-length, section with Parameters, declare
4. Parameterizedsection.cbl
section with Parameter
fibonacci section (n as binary-long) returning result as binary-long.
i know this possibility from SAP ABAP, but never seen before in cobol
is there a complete list of all changes on cobol syntax and the new possibilities?
Thanks in advance
cg
Some of the features you listed have been in the Visual COBOL product for quite some time. I believe Parameterized sections was available in 9.0. These are language features that are available in .NET COBOL and JVM COBOL (aka Managed code)
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.