---------------------------------------------------------------------- F u n c t i o n s ----------------------------------------------------------------------*/ * c o u n t * * Recursively count the elements in a list. Return the count. **********************************************************************/
| 101 | * Recursively count the elements in a list. Return the count. |
| 102 | **********************************************************************/ |
| 103 | int count(LIST var_list) { |
| 104 | int temp = 0; |
| 105 | |
| 106 | iterate (var_list) temp += 1; |
| 107 | return (temp); |
| 108 | } |
| 109 | |
| 110 | |
| 111 | /********************************************************************** |
no test coverage detected