Type Safe Constant Proposals

From PCGen Wiki
Revision as of 22:00, 24 March 2009 by Tom Parker (talk | contribs) (New page: {| align="right" | __TOC__ |} =CHOOSE proposals for Type Safe Constants= ==CHOOSE:SCHOOLS== SUBTOKEN: SCHOOLS (altered by this proposal, no argument version is deprecated)<br> ===S...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

CHOOSE proposals for Type Safe Constants

CHOOSE:SCHOOLS

SUBTOKEN: SCHOOLS (altered by this proposal, no argument version is deprecated)

Syntax

CHOOSE:SCHOOLS|x|x

x is a PRIMITIVE

A PRIMITIVE is an identifier of objects, and may include any number of specifications.

In the case of SCHOOLS objects, the only valid PRIMITIVES are the four global PRIMITIVES:

x = a School (Abjuration, Evocation, etc.)
x = ALL (allow the choice of any SCHOOL)

Conversion

CHOOSE:SCHOOLS becomes CHOOSE:SCHOOLS|ALL