对COBOL的最新重大更改 [英] Most recent breaking changes to COBOL

查看:127
本文介绍了对COBOL的最新重大更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

过去一年中,由于Python v2-> v3和R v3-> v4的更改,我花了一些时间来处理代码更改.对于某些仍在使用的较旧的语言,我感到好奇.

I've spent some time in the past year dealing with changes to my code due to Python v2->v3 and R v3->v4 changes. It got me curious as to some of the older languages that are still in use.

我知道COBOL仍然偶尔会看到更新和功能升级.我认为它们的关键任务性质使这些更改更小并且更向后兼容,但是我真的不知道,也无法通过网络搜索找到它.

I know COBOL still sees occasional updates and functionality upgrades. I would assume that their mission-critical nature makes those changes smaller and more backward-compatible, but I don't really know and couldn't find it with a web search.

对COBOL的最后一次更改是什么,什么时候发生,与Python 2-> 3更改的大致顺序相同?

What and when were the last changes to COBOL that was on the same rough order as the Python 2->3 changes?

推荐答案

对COBOL的最后一次更改是什么,什么时候发生,与Python 2-> 3更改的大致顺序相同?

What and when were the last changes to COBOL that was on the same rough order as the Python 2->3 changes?

更改的是一长串,因此未显示.

What was changed is a long list, therefore not shown.

COBOL 2002:

COBOL 2002:

删除了COBOL 85中过时的18种语言元素.

Removed 18 language elements that were made obsolete in COBOL 85.

添加了54个保留字,如果不按照2002年标准使用这些保留字将导致语法错误.

Added 54 reserved words that would cause syntax errors if not used in conformance with the 2002 standard.

添加了FLAG-85指令以标识10种情况,其中相同的语法可能会产生与1985年标准不同的结果.

Added the FLAG-85 directive to identify 10 cases where the same syntax could have different results than the 1985 standard.

这篇关于对COBOL的最新重大更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆