This is a simple question but I don't know how to construct a variable name by concatenating two strings. The code below is how not to do it...
var
UserName1 : String;
UserName2 : String;
Password1 : String;
Password2 : String;
UserCount : Integer;
UserCount := 2;
for Wk1 := 1 to UserCount do
begin
DoLogin(UserName+Wk1, Password+Wk1);
end;