Category talk:Wren-dynamic: Difference between revisions

→‎Source code: Changed Enum class preamble to include 'startsFrom' property.
(→‎Source code: Added a startsFrom property for enums.)
(→‎Source code: Changed Enum class preamble to include 'startsFrom' property.)
Line 29:
Members are assigned in order an initial integer value (often 0), incremented by 1 each time.
The enum has:
1. static property getters for each member, and
2. a static 'membersstartsFrom' property, which returns a list of its members as strings.and
3. a static 'members' property which returns a list of its members as strings.
*/
class Enum {
9,476

edits