|
-
August 12th, 2009, 06:39 AM
#7
Re: Type mismatch
 Originally Posted by Mybowlcut
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|