Page 1 of 1
Error: Invalid number of arguments passed to expression
Posted:
Fri Oct 05, 2012 9:44 am
by the dueces
Sum(if[tourney_hand_player_statistics.flg_p_limp and (tourney_hand_player_statistics.amt_p_effective_stack / tourney_blinds.amt_bb) >= 8 AND (tourney_hand_player_statistics.amt_p_effective_stack / tourney_blinds.amt_bb) <= 12.99 AND lookup_actions_p.action = 'CF', 1, 0])
I get an error message on my HUD Error: Expression: Invalid number of arguments passed to function 'if' (Expecting 3, Received 2)
Is there a problem with above code?
Re: Error: Invalid number of arguments passed to expression
Posted:
Fri Oct 05, 2012 1:32 pm
by kraada
I copied and pasted that and it validated for me. Are you sure you're in the right section (T, Players, Columns)?
Re: Error: Invalid number of arguments passed to expression
Posted:
Fri Oct 05, 2012 8:40 pm
by the dueces
Yes i'm in - Tournaments - Players - columns
I'm new to creating custom stats is there something else I could have missed?
When I click the Validate button it says "expression is valid" it's just when my HUD loads up. I get the Error message I quoted in the first post, it's displayed in red writing on my HUD where the custom stat should be?
Re: Error: Invalid number of arguments passed to expression
Posted:
Sat Oct 06, 2012 4:51 am
by WhiteRider
Please export your Hud profile and attach it to a
Support Ticket. Tell us the exact name of the stat causing the problem, and which group it is in, and we'll check it out for you.