.getCount() and .Count give null value
Posted: Fri Oct 23, 2020 11:26 pm
For reference I am on CE 7.1.
So I'm pretty sure this is just me not knowing how to setup a list properly but when I create an array of strings for example:
And before passing the list to a function I get the count:
Those two always return a null so I can't use them to compare against.
My question is: Am I setting up my list incorrectly? If so, what is the correct way to allow use of the Count and getCount() functionality?
So I'm pretty sure this is just me not knowing how to setup a list properly but when I create an array of strings for example:
Code: Select all
strList = {"String1","String2","String3"}
Code: Select all
--Either this
strNum = strList.Count
--Or this
strNum = strList.getCount()
My question is: Am I setting up my list incorrectly? If so, what is the correct way to allow use of the Count and getCount() functionality?