Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,9 @@
var APPLE = 1
var ORANGE = 2
var PEAR = 3
var CHERRY = 4
var BANANA = CHERRY + 1
var GRAPE = BANANA + 1
System.print([APPLE, ORANGE, PEAR, CHERRY, BANANA, GRAPE])

View file

@ -0,0 +1,5 @@
import "/dynamic" for Enum
var Fruit = Enum.create("Fruit", ["apple", "orange", "pear", "cherry", "banana", "grape"], 1)
System.print(Fruit.orange)
System.print(Fruit.members[Fruit.cherry - 1])