Excellzone

Forum and disscussions since 2010


You are not connected. Please login or register

View previous topic View next topic Go down Message [Page 1 of 1]

#1
Excell

avatar
Head Administer
Head Administer
Code:
[color=#000000]  [color=#007700]public [/color][color=#0000BB]int[/color][color=#007700][] [/color][color=#0000BB]getChannelRate[/color][color=#007700]() {

 
        [/color][color=#0000BB]int exprate [/color][color=#007700]= [/color][color=#0000BB]0[/color][color=#007700];

 
        if ([/color][color=#0000BB]c[/color][color=#007700].[/color][color=#0000BB]getChannel[/color][color=#007700].[/color][color=#0000BB]equals[/color][color=#007700]([/color][color=#0000BB]1[/color][color=#007700])) {

            [/color][color=#0000BB]exprate [/color][color=#007700]= [/color][color=#0000BB]1[/color][color=#007700];

        } else if ([/color][color=#0000BB]c[/color][color=#007700].[/color][color=#0000BB]getChannel[/color][color=#007700].[/color][color=#0000BB]equals[/color][color=#007700]([/color][color=#0000BB]2[/color][color=#007700])) {

            [/color][color=#0000BB]exprate [/color][color=#007700]= [/color][color=#0000BB]2[/color][color=#007700];

        } else if ([/color][color=#0000BB]c[/color][color=#007700].[/color][color=#0000BB]getChannel[/color][color=#007700].[/color][color=#0000BB]equals[/color][color=#007700]([/color][color=#0000BB]3[/color][color=#007700])) {

            [/color][color=#0000BB]exprate [/color][color=#007700]= [/color][color=#0000BB]3[/color][color=#007700];

        } else {

            [/color][color=#FF8000]//Not possible 0.0

        [/color][color=#007700]}

 
        return new [/color][color=#0000BB]int[/color][color=#007700][] { [/color][color=#0000BB]exprate [/color][color=#007700]};

    }

 
    public [/color][color=#0000BB]int getExpRate[/color][color=#007700]() {

        return [/color][color=#0000BB]getChannelRate[/color][color=#007700]()[[/color][color=#0000BB]0[/color][color=#007700]];

    }
[/color][/color]

View user profile http://excellzone.mrforum.net

#2
rhenzblue

avatar
Level 0
Level 0
hmm.....
where do u put that? o:

View user profile

View previous topic View next topic Back to top Message [Page 1 of 1]


Permissions in this forum:
You cannot reply to topics in this forum