No method overloading?

Started by deltamatrix, Wed 04/04/2007 00:56:51

Previous topic - Next topic

deltamatrix


Ok technically not a method but you know wot I mean. The ability to overload functions in AGS will be useful.

I have just written min and max maths functions (shame AGS don't seem to support these) which I hoped to overload for different data types.  :(

Thanks
BAD WOLF - TORCHWOOD - MR SAXON - THE BEES ARE DISAPPEARING - PANDORICA - RIVER SONG

Pumaman

There are lots of things I'd like to add to the script language, but realistically this isn't going to happen any time soon.

Still, the workaround is easy:
MaxInt(int, int)
MaxFloat(float, float)
etc :P

SMF spam blocked by CleanTalk