Lasso Soft Inc. > Home

[ set->removeall ]

Method

The [set->removeall] method removes all elements from the set.

  • Syntax
set->removeall
Examples
  • Beginner

Empty a set

Use the [set->removeAll] method.

Code

var( workSchedule = set('Mon' = 'Jono', 
                        'Tues'='Sean', 
                        'Wed'='Jess', 
                        'Thur'='Eric',
                        'Fri' ='Jordon', 
                        'Sat'='Jono',
                        'Sun'='Jono') )

$workSchedule->removeall
$workSchedule

Result

set()

Recent Comments

No Comments found

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. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft