Quote Originally Posted by Mybowlcut View Post
Great..

Code:
Function get_player_attributes(team_no, players_per_team, attribute_name)
    ' ...
    get_players_attributes = player_attributes
End Function
I should mention at this point that I'm coding this with Editplus and thus have no debugger... I'm used to C++ where a stupidly simple mistake like this would have been picked up by the compiler straight away.
Well, that's because - if I remember my classic ASP/VB script - correct, that it is legal/correct syntax in that language and a compiler wouldn't pick up on legal syntax.