Is there any way to make an integer two or more separate numbers at the same time?
mydogs:array[0..9] of dogs;
i:=1,2,3;
myvoice.sit(mydogs);
..............................................................
procedure TMainForm.xHold;
begin
if N = 1 then begin T := 0; SimpleSIP1.HoldCall(CallPack[T]);end;
if N = 2 then begin T := 0, 1; SimpleSIP1.HoldCall(CallPack[T]);end;
if N = 3 then begin T := 0, 1, 2; SimpleSIP1.HoldCall(CallPack[T]);end;
if N = 4 then begin T := 0, 1, 2, 3; SimpleSIP1.HoldCall(CallPack[T]);end;
if N = 5 then begin T := 0, 1, 2, 3, 4; SimpleSIP1.HoldCall(CallPack[T]);end;
if N = 6 then begin T := 0, 1, 2, 3, 4, 5; SimpleSIP1.HoldCall(CallPack[T]);end;
if N = 7 then begin T := 0, 1, 2, 3, 4, 5, 6; SimpleSIP1.HoldCall(CallPack[T]);end;
if N = 8 then begin T := 0, 1, 2, 3, 4, 5, 6, 7; SimpleSIP1.HoldCall(CallPack[T]);end;
if N = 9 then begin T := 0, 1, 2, 3, 4, 5, 6, 7, 8; SimpleSIP1.HoldCall(CallPack[T]);end;
if N = 10 then begin T := 0, 1, 2, 3, 4, 5, 6, 7, 8, 9; SimpleSIP1.HoldCall(CallPack[T]);end;
end;
I am reading on the net but I am just getting more and more confused as everything I try to copy goes wrong with this array.
mydogs:array[0..9] of dogs;
i:=1,2,3;
myvoice.sit(mydogs);
..............................................................
procedure TMainForm.xHold;
begin
if N = 1 then begin T := 0; SimpleSIP1.HoldCall(CallPack[T]);end;
if N = 2 then begin T := 0, 1; SimpleSIP1.HoldCall(CallPack[T]);end;
if N = 3 then begin T := 0, 1, 2; SimpleSIP1.HoldCall(CallPack[T]);end;
if N = 4 then begin T := 0, 1, 2, 3; SimpleSIP1.HoldCall(CallPack[T]);end;
if N = 5 then begin T := 0, 1, 2, 3, 4; SimpleSIP1.HoldCall(CallPack[T]);end;
if N = 6 then begin T := 0, 1, 2, 3, 4, 5; SimpleSIP1.HoldCall(CallPack[T]);end;
if N = 7 then begin T := 0, 1, 2, 3, 4, 5, 6; SimpleSIP1.HoldCall(CallPack[T]);end;
if N = 8 then begin T := 0, 1, 2, 3, 4, 5, 6, 7; SimpleSIP1.HoldCall(CallPack[T]);end;
if N = 9 then begin T := 0, 1, 2, 3, 4, 5, 6, 7, 8; SimpleSIP1.HoldCall(CallPack[T]);end;
if N = 10 then begin T := 0, 1, 2, 3, 4, 5, 6, 7, 8, 9; SimpleSIP1.HoldCall(CallPack[T]);end;
end;
I am reading on the net but I am just getting more and more confused as everything I try to copy goes wrong with this array.