Each expression is evaluated in a particular context which defines which properties are available. Using the context references, you can temporarily switch to a different context to access another object's properties. For example, Ship(2).Name yields the name of ship 2, regardless where you are.
If the argument to a context reference is out of range or EMPTY, the return value is EMPTY. Use this to your advantage.
In addition, context references are used with the With statement. There it is an error for a context reference to return EMPTY. Context references are also used with the ForEach statement. There, you do not specify an Id. Instead, the command iterates through all objects of that type. See Objects for details.
Version Differences: Since PCC 1.0.18, context references use singular words. The older plural words (Ships(id)) continue to be available in PCC 1.x, but are not available in PCC2. Use only the singular words. ForEach always used the singular words.