Difference between state variable and state function in thermodynamic?
Pressure $P$ is state variable when we specify equilibrium state of a system by giving numerical value of $P$.
Pressure $P$ is a state function when we discuss how the above value depends on other state variables like $V,T$.