B
Boblee
Unregistered / Unconfirmed
GUEST, unregistred user!
uses
...
type
private
//过程,函数声明
procedure SetSceneHotSpots(para:array of THotSpot)
function GetSceneHotSpots :array of THotSpot
<<<---编译出错:[Error] panoObj.pas(44): Identifier expected but 'ARRAY' found
....
public
property SceneHotSpots:array of THotSpot read GetSceneHotSpots write SetSceneHotSpots;<<<---编译出错:[Error] panoObj.pas(55): Identifier expected but 'ARRAY' found
[Error] panoObj.pas(55): Incompatible types
....
var
result:array of THotSpot
<<---THotSpot 是 我自己写的class.
....
implementation
procedure SetSceneHotSpots(para:array of THotSpot)
begin
result:=para;<<<-编译出错:[Error] panoObj.pas(109): Incompatible types: 'Array' and 'dynamic array'
end;
function GetSceneHotSpots:array of THotSpot;<<--编译出错:[Error] panoObj.pas(127): Identifier expected but 'ARRAY' found
begin
GetSceneHotSpots:=result;<<--编译出错:[Error] panoObj.pas(129): Incompatible types: 'THotSpot' and 'dynamic array'
....
end;
Help ,help ......
...
type
private
//过程,函数声明
procedure SetSceneHotSpots(para:array of THotSpot)
function GetSceneHotSpots :array of THotSpot
<<<---编译出错:[Error] panoObj.pas(44): Identifier expected but 'ARRAY' found
....
public
property SceneHotSpots:array of THotSpot read GetSceneHotSpots write SetSceneHotSpots;<<<---编译出错:[Error] panoObj.pas(55): Identifier expected but 'ARRAY' found
[Error] panoObj.pas(55): Incompatible types
....
var
result:array of THotSpot
<<---THotSpot 是 我自己写的class.
....
implementation
procedure SetSceneHotSpots(para:array of THotSpot)
begin
result:=para;<<<-编译出错:[Error] panoObj.pas(109): Incompatible types: 'Array' and 'dynamic array'
end;
function GetSceneHotSpots:array of THotSpot;<<--编译出错:[Error] panoObj.pas(127): Identifier expected but 'ARRAY' found
begin
GetSceneHotSpots:=result;<<--编译出错:[Error] panoObj.pas(129): Incompatible types: 'THotSpot' and 'dynamic array'
....
end;
Help ,help ......