Troll
2011-04-13 04:02:53
Umm so in a function i am trying to result in a type.
But every time i do Result := —— it throws an error
Thanks for the help
Type
Monster = Record
Colour,Toll:Integer;
Hue,Sat :Extended;
Uptext :String;
End;
Function MonsterDetails(MonsterName:String):Monster;
Begin
Case MonsterName Of
'Goblin':Begin
End;
End;
End;
But every time i do Result := —— it throws an error
Thanks for the help