The [set->values] method returns a staticarray object containing the elements of the set.
set->values
Use the [set->values] method to create duplicate of a set as a staticarray, effectively fixing the order of the objects in the set.
Code
var( workSchedule = set('Mon' = 'Jono',
'Tues'='Sean',
'Wed'='Jess',
'Thur'='Eric',
'Fri' ='Jordon',
'Sat'='Jono',
'Sun'='Jono') )
$workSchedule->values
Result
staticarray((Fri = Jordon), (Mon = Jono), (Sat = Jono), (Sun = Jono), (Thur = Eric), (Tues = Sean), (Wed = Jess))
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments