Can anyone tell me how to get a scrolling list count.
I have a scrolling list and need to get the number of lines populated in it. It contains
two colums of data and all I need is to know how to get the number of lines populated
in it and put the number into a variable.
I have done a search on this but could not find anything on this.
Mind you I am only 2 weeks new to LC environment. Alot to learn with LiveCode.
Scrolling List Count
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Scrolling List Count
Hi Jerry,
well:
...
put the number of lines of fld "your scrolling list field here" into tNumOfLines
answer "There are" && tNumOfLines && "lines in that field!"
...
should do the trick
Please check these great learning resources here:
http://www.runrev.com/developers/lesson ... nferences/
Best
Klaus
well:
...
put the number of lines of fld "your scrolling list field here" into tNumOfLines
answer "There are" && tNumOfLines && "lines in that field!"
...
should do the trick

Please check these great learning resources here:
http://www.runrev.com/developers/lesson ... nferences/
Best
Klaus
Re: Scrolling List Count
This is what is so cool about LC.
Your question has almost the exact syntax of the answer.
Your question has almost the exact syntax of the answer.
Re: Scrolling List Count
Thanks for the help Klaus. Takes me a little time to retrain my mind from using Lua.