各自加入对方的uses语句就可以了,一个放在接口部分,一个放在实现部分

解决方案 »

  1.   

    请问 billbobo(bobo) ,uses 语句分别需要怎么放呢?
      

  2.   

    unit Unit1;
    public
          t: integer;implementation
    uses input
    {$R *.DFM}unit input;
    public
          t0: integer;implementation
    uses unit1
    {$R *.DFM}
      

  3.   

    zrong(zr)你说的不对,这样有错误的,
    error:undeclared indentifier:'t'
      

  4.   

    t 或 t0 前面應該加上單據名 如 t:=input.t0;
                                  t0:=form1.t;
      

  5.   

    不好意思打錯了 不是單據名 , 是表單from.name 
         如:   t:=from2.t0;   // 你的from.name可能并不是form2,假設的
               t0:=form1.t;