Code: Select all
Var: strTemp("");
strTemp="Test";
plot2(1,strTemp);
Code: Select all
Var: strTemp("");
strTemp="Test";
plot2(1,strTemp);
Code: Select all
Variables : i(0),MaxIndex(0),strTemp("");
Array: MyArray[](0);
....
For i=0 to MaxIndex
begin
strTemp = "Plot" + NumToStr(i,0);
.... and then execute the function strTemp to plot MyArray(i)
end;