Home > Language Reference > Classes > StringList
Count Function
Number of strings in the list.
Syntax
Public Function Count() As Integer
Remarks
The Count function returns the total number of strings in the list. This value is always greater than or equal to one. The following example loops over all the strings in the StringList1 list:
Private Sub Button1_Click()
Dim i As Integer
For i=0 To StringList1.Count-1
MsgBox StringList1.String(i)
Next i
End SubPlease refer to the StringList page for more information about creating and using string lists.
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.0 | N/A |