Alex "darbotron" Darby
Alex "darbotron" Darby
resurrecting this because it'd also be super useful for looking up display names from list values e.g. ``` LIST lstListOfThings = ThingOne, ThingTwo, ThingThree === function GetDisplayNameForThing( valueFromListOfThings ) ~return...
So, I managed a workaround for this use case which is a little meta but it seems to work fine. Essentially you define a function which is the array then...
> My current plan is to allow list items to contain arbitrary values. Right now they're always numbers, but you could do something like: > > `LIST characters = bob...
> My current plan is to allow list items to contain arbitrary values. Right now they're always numbers, but you could do something like: > > `LIST characters = bob...
you could do something like: ``` It was a beautiful {getDayPhaseAsInt(): -1: morning -2: afternoon -3: evening -4: night } ```