CountShips(q:Expr):Int

Count number of ships satisfying a condition. The expression q is evaluated for each ship, and the ship is counted if it returns true.

This function is (almost) equivalent to Count(Ship, q).

Since: PCC 1.0.11, PCC2 1.99.9

See also: Elementary Functions

This is a testing version.
It may be incomplete, and have more bugs (or features) than the public live version at planetscentral.com.