数组和循环问题。 [英] Array and Loop problems.
本文介绍了数组和循环问题。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Heya家伙。
我有代码
Heya guys.
I have the code
展开 | < span class =codeLinkonclick =selectAll(this);>选择 | 换行 | 行号
推荐答案
嘿。
问题在于循环的条件:
Hey.
The problem is in the condition for the loop:
展开 | 选择 | Wrap | 行号
嘿谢谢你的快速回复。
使用count()确实能让它工作,但并不像预期的那样。
Hey thanks for the quick reply.
Using count() did make it work, but not quite as intended.
展开 | 选择 | Wrap | 行号
我不确定这是你想要的但是试试看:
Hi, I am not sure is this what you want but have a try:
展开 | 选择 | Wrap | 行号
这篇关于数组和循环问题。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文