Updated out of date value expression section in the documentation.

The section on complex expressions in the Value Expressions chapter was out of date. Updated this to documentation and examples that work.