Difference between revisions of "Type Safe Constant Proposals"

From PCGen Wiki
Jump to: navigation, search
(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...)
(No difference)

Revision as of 22:00, 24 March 2009

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