0
How can i know if a list is empty or full without using the lenght function?
4 ответов
0
check whether the first item exists... if yes, there is one or more items. if not, the list is empty...
0
yes, but how do i know if that item exists?
0
if it does, there will be certain value stored. otherwise, it will be null, empty or nonexistent. depends on a language and type of values stored in the list...
0
okey, thanks