Hello Ingrid,
I am unsure I understand the question. Assuming you want to get the length of an array so that you can loop on all its elements, you can use '__len__()' on it.
Remember indexing is 0-based so you need to start at zero and continue while "< length", and NOT "<= length" !
- length: arr.__len__()
- idx: 0
- while idx < length:
- show(arr[idx])
- idx: idx + 1
Hope it helps,
Gaëtan
--
You received this message because you are subscribed to the Google Groups "liam2-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
liam2-users...@googlegroups.com.
To view this discussion on the web, visit
https://groups.google.com/d/msgid/liam2-users/77a51660-29a6-4863-b30a-6a7ec3b6078a%40googlegroups.com.