What's the difference?
#4

Function always returns only 1 value and it could be everything, but the same type.

pawn Код:
if(h == 500)
    {
        return 0;
    }
it's useless.

anyway it'll be simplier to create it with switch/case construction.

Edit: evil post
Reply


Messages In This Thread
What's the difference? - by Danut - 16.02.2009, 16:20
Re: What's the difference? - by MenaceX^ - 16.02.2009, 16:24
Re: What's the difference? - by Danut - 16.02.2009, 16:25
Re: What's the difference? - by [LDT]LuxurY - 16.02.2009, 17:02
Re: What's the difference? - by Think - 16.02.2009, 18:27
Re: What's the difference? - by Joe Staff - 16.02.2009, 20:28
Re: What's the difference? - by Daren_Jacobson - 16.02.2009, 20:33

Forum Jump:


Users browsing this thread: 2 Guest(s)