var BitmapArray:Array of TBitmap;
var FileArray:Array of String;//文件名列表
procedure CreateBitmap(total:integer;FileA:Array of String);
var i:integer;
begin
     SetLength(BitmapArray,total);
     For i:=0 to total-1 do
     begin
        BitmapArray[i]:=TBitmap.Create;
        BitmapArray[i].LoadFromFile(FileArray[i]);
     end;
end;
调用如:
total:=3;
SetLength(FileArray,3);
FileArray[0]:='c:\1.bmp';
FileArray[1]:='c:\2.bmp';
FileArray[2]:='c:\3.bmp';
CreateBitmap(3,FileArray);