3 ms·
Do array indexes start at 1? let i as number be 1 while (i < person.friendNames.count) { print(person.friendNames[i]) make i be i plus 1
by danielhlockard 8y ago
Do array indexes start at 1?
let i as number be 1
while (i < person.friendNames.count) {
print(person.friendNames[i])
make i be i plus 1
}
- valdirun 8y agoit depends, Zolang doesn't care for this (but it should, and will later on) and just forwards values. So if you're transpiling to languages that have a first index as 1... then yes :'D