Lasso Delve is a Lasso utility method explicitly for handling embedded arrays. With one array which contain other arrays, delve allows you to treat one array as a single series of elements, thus enabling easy access to an entire tree of values.
delve(array)
Code
var(items) = (: 'one', 2, (: 3, 'four'), 5, 6, array('seven', 'eight'), 9, 'ten')
with item in delve($items)
do {^
#item
'<br />'
^}
Result
one 2 3 four 5 6 seven eight 9 ten
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