声明一个返回数组类型的function报错,求解答
unit Unit1;interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs;
type
TForm1 = class(TForm)
sorce=array of Integer;//这里报错,提示要改成;号,改成;号后就无法识别array类型
edt1: TEdit;
btn1: TButton;
procedure btn1Click(Sender: TObject);
Function turnout(sss:string):sorce;//形参为字符串,返回数组类型的函数
private
{ Private declarations }
public
{ Public declarations }
end;
求大神:lol:lol:lol:lol很好 sorce=array of Integer;// 这里没错 函数错了:loveliness:
页:
[1]