checking if a list is empty.
BlitzMax Forums/BlitzMax Beginners Area/checking if a list is empty.
| ||
Ok my first question how do we check a Tlist to see if it contains anything? My second is are there any documentation on Tlist and all the little things I can do with it? the blitzmax docs as you know are still lacking to say the least. |
| ||
Modules / Lists / ListIsEmpty or use method isempty. It also lists the functions you can use. There are tutorials in the tutorials forum which cover lists and they're uses. In particular Beginners guide to BlitzMax |
| ||
thanks. |
| ||
if listisempty(list) then fill it end if |