Applying formulas to variables

Mathematical formulas in variables


Variables can either be a number or can be in the form of a formula.
When variables are in the form of a formula, they must begin with '='.
Variables that are formulas can again contain other variables.

Here are some examples:
- 7 (a number)
- =8*5 (a simple formula. Note that the formula starts with =)
- =(#3+#4)*2 (a formula containing two other variables)



The available operators for formulas


Formulas can contain the following operators:
- + (plus)
- - (minus)
- * (multiply)
- / (divide)
- ( ) (brackets)
- P, C, M, S (pot properties)



Pot properties


As mentioned above, formulas can also contain the properties P, C, M, S, which are:
- P = the total amount of money on the table, including current bets, excluding stacks
- M = the player's own current bet for this betting round
- C = the amount that has to be put in to match the current bet
- S = the player's remaining stack

For example, in the picture below hero bets $8 into a $13 pot and gets raised to $19.
He has $176 behind.
In this example:
- P = 13+8+19=40
- C = 19-8=11
- M = 8
- S = 176

Please observe that P stands for the amount of money on the table; it does not stand for pot.



The properties P, C, M and S can only be applied to bet/raise sizes, top% preflop and weights.
They can NOT be used things like:
- Stack sizes
- Blind sizes
- Rake
- Chips added to pot

This is because when you're setting (for example) rake, properties like P, C, M and S do not apply yet.
These properties only apply at decision nodes where pot data is known.

Applying P, C, M or S here anyhow may result in unpredictable behaviour.

 

 

<< Previous Contents Next >>