clear()
Table of Contents
Overview
The clear() function takes a listVariable as an argument, and removes all elements from the list.
Syntax
<listVariable>.clear();
Parameter | Description | Data type |
---|---|---|
<listVariable> | The list variable whose elements will be removed. | NUMBER |
Examples
listVar = {"Projects", "Mail", {"Zoho Creator", "Zoho CRM"}};
listVar.clear(); // empties the given list
listVar.clear(); // empties the given list