Is there a command or function that counts the number of elements in a numlist?
-
Login or Register
- Log in with
local counter = 1
foreach num of numlist Numlist {
do sth with a reference to `counter'
local counter++
}
local numlist 10 15 100 1230 139
local remaining : copy local numlist
while "`remaining'"!="" {
gettoken next remaining : remaining
disp `next'
}
Comment