CnPack Forum


 
Subject: 代码高亮的一处错误---注释
superllh
新警察
Rank: 1



UID 3098
Digest Posts 0
Credits 43
Posts 19
点点分 43
Reading Access 10
Registered 2006-11-1
Status Offline
Post at 2008-7-3 11:40  Profile | Blog | P.M. 
代码高亮的一处错误---注释

with tqWPA65 do
  begin
    while not EOF do
    begin
      if  then
      begin
      end
      else if  then
      begin
      end;
      {else if then
      begin
        if  then
        begin
          if  then
          begin
            if then

            else
              iTime := 0;  //開
          end;  ---这个会被连线
        end; ---这个会被连线
      end;} ---这个会被连线
      Next;
    end;
  end;


因为注释中有一个“開”字,导致高亮关联到了被注释的end
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2008-7-3 12:20  Profile | Blog | P.M. 
请问您的Delphi版本?
Top
superllh
新警察
Rank: 1



UID 3098
Digest Posts 0
Credits 43
Posts 19
点点分 43
Reading Access 10
Registered 2006-11-1
Status Offline
Post at 2008-7-3 13:39  Profile | Blog | P.M. 
Delphi7
Top
superllh
新警察
Rank: 1



UID 3098
Digest Posts 0
Credits 43
Posts 19
点点分 43
Reading Access 10
Registered 2006-11-1
Status Offline
Post at 2008-7-3 14:01  Profile | Blog | P.M. 
使用 CnWizards_0.8.4.405_Unstable.exe
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2008-7-3 14:26  Profile | Blog | P.M. 
在我的D7下暂未能重现此问题。能否将您的出问题的这个Pas文件以附件形式上传至论坛,供我们测试一下?
Top
superllh
新警察
Rank: 1



UID 3098
Digest Posts 0
Credits 43
Posts 19
点点分 43
Reading Access 10
Registered 2006-11-1
Status Offline
Post at 2008-7-3 14:39  Profile | Blog | P.M. 
好的!不過要如何上傳呢?
Top
superllh
新警察
Rank: 1



UID 3098
Digest Posts 0
Credits 43
Posts 19
点点分 43
Reading Access 10
Registered 2006-11-1
Status Offline
Post at 2008-7-3 14:42  Profile | Blog | P.M. 
見笑了,已經上傳好了!
Top
superllh
新警察
Rank: 1



UID 3098
Digest Posts 0
Credits 43
Posts 19
点点分 43
Reading Access 10
Registered 2006-11-1
Status Offline
Post at 2008-7-3 14:52  Profile | Blog | P.M. 
Top
 




All times are GMT++8, the time now is 2024-11-23 16:50

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.010078 second(s), 9 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP