免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2651 | 回复: 0
打印 上一主题 下一主题

有没有人见过QUALIFIED这个? [复制链接]

论坛徽章:
0
1 [报告]
发表于 2010-03-11 09:02 |显示全部楼层
<ILE RPG Reference>
QUALIFIED
The QUALIFIED keyword specifies that the subfields of a data structure will be
accessed by specifying the data structure name followed by a period and the
subfield name. The data structure must have a name.
The subfields can have any valid name, even if the name has been used elsewhere
in the program. This is illustrated in the following example:
* In this example, FILE1 and FILE2 are the names of files. FILE1 and FILE2 are
* also subfields of qualified data structure FILESTATUS. This is valid,
* because the subfields FILE1 and FILE2 must be qualified by the data structure
* name: FILESTATUS.FILE1 and FILESTATUS.FILE2.
Ffile1 if e disk
Ffile2 if e disk
D fileStatus ds qualified
D file1 N
D file2 N
C open(e) file1
C eval fileStatus.file1 = %error

1.问前先搜索
2.下些工具书,置顶帖子里有
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP