Sets
Unlike many other languages, OneScript supports the ability to store, combine and test options that may represent options selected by recipient of a survey. The Set type takes the following basic form:
For example:
Sets do not support whitespace between the ident values.
It is possible to combine sets for example:
It is also possible to test whether a Set is present in a value is:
Sets are case insensitive:
Last updated