# P_poll
## Syntax:
@poll**({group}, {var})**
## Use Case:
Collects a variable value from every session in the group expression and returns them as a comma-separated list. Supports group expressions (A+B-C) and deferred evaluation ({expr}).
## Arguments:
- **{group}**: A group expression (e.g., A, ALL, A+B-C, ALL-Suzie).
- **{var}**: Variable name or braced expression.
## Examples:
1. **@poll(ALL, myhp)** â†’ "450,320,180"
2. **@poll(A+B, myhp)** â†’ values from groups A and B combined
3. **@poll(ALL, {@GetCount(inventory)})** â†’ item counts from each session
## See Also:
pollmin, pollmax, pollavg, polltotal, pollwho, G_CrossSessionData
