注册 登录
编程论坛 Delphi论坛

我刚刚开始学delphi,按课本上这么写的有错误

bhu_wll 发布于 2011-09-27 14:25, 1373 次点击
我刚刚开始学delphi
文件的头处是这样的

unit looplistdemo;

interface
      link = ^node;
     node = RECORD
         data : integer;
         next :link;

     END;
提示:
[Error] looplistdemo.pas(4): Declaration expected but identifier 'link' found
这是什么意思啊?
2 回复
#2
xh200304022011-09-29 15:09
link 没有定义
#3
bhu_wll2011-09-30 14:40
回复 2楼 xh20030402
谢谢
1