var a:pchar;
x:char;
begin
a:=@x;
end;
它说a不可用!

解决方案 »

  1.   

    你试着把A的类型改为Pointer呢
      

  2.   

    var2      X, Y: Integer;   // X and Y are Integer variables
    3      P: ^Integer;     // P points to an Integer
    4    begin
    5      X := 17;         // assign a value to X
    6      P := @X;         // assign the address of X to P
    7      Y := P^;         // dereference P; assign the result to Y
    8    end;
    我从帮助里拷来的,我这里就不能用!!!!!!!1
      

  3.   

    试试你的project-options-complier-syntax options中的
    typed @ operator 选项