
Use this type of if condition
-1 will for sure give errors because the smallest index is 1.
About 100, I have never tried creating such a big list, but i dont think that should be a issue.
The error might occur when you are trying to retrieve a 100th item from a list containing 99 or less items