找回密码
 注册
搜索
查看: 842|回复: 4

[讨论] MAX编译时的问题

[复制链接]
发表于 2008-1-29 18:41:13 | 显示全部楼层 |阅读模式
MAX编译这条语句时
ELSE COUNT<=COUNT+1;
出现下列问题
Subprogram error: can't interpret subprogram call
我查了一下Help On Message  
MAX+PLUS II is unable to correctly interpret the subprogram call because it is either missing or incorrectly implemented. A subprogram may be one of the following overloaded operators: +, -, *, <, >, <=, >=, =, /=.
难道是COUNT+1这条语句有问题吗?
小弟实在不解其中缘由,还望各位高手不吝赐教
发表于 2008-2-28 08:20:59 | 显示全部楼层
什么意思?
点评回复

使用道具 举报

发表于 2008-3-18 09:38:22 | 显示全部楼层
这语句没问题   别的没法帮忙[em13]
点评回复

使用道具 举报

发表于 2008-3-20 15:50:46 | 显示全部楼层
我认为你定义的COUNT是一个变量,要进行递加操作,你的COUNTl必须用变量操作符:
把ELSE COUNT<=COUNT+1;
改为 ELSE COUNT:=COUNT+1;尝试一下
点评回复

使用道具 举报

发表于 2008-3-20 15:52:11 | 显示全部楼层
我认为你定义的COUNT是一个变量,要进行递加操作,你的COUNTl必须用变量操作符:
把ELSE COUNT<=COUNT+1;
改为 ELSE COUNT:=COUNT+1;尝试一下
点评回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies

本版积分规则

Archiver|手机版|小黑屋|52RD我爱研发网 ( 沪ICP备2022007804号-2 )

GMT+8, 2024-9-30 08:38 , Processed in 0.059942 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表