function Rand(A : Array Of String) : String; begin Result := A[Random(Length(A))]; end;
ShowMessage(Rand(['apple', 'parrot', 'tomato']));