Text this: Nonlinear dynamics of piecewise constant systems and implementation of piecewise constant arguments