for 循环的测试表达式部分中的 LE 是什么意思
嗨,我对 Coldfusion 很陌生,我正在尝试调试一些 cfscript 逻辑。基本上我想知道“le”在 for 循环的测试表达式部分中意味着什么。我浏览了 Coldfusion 文档,但找不到它的含义。我猜它的意思是小于或等于,但我相信它被表示为 LTE。这是代码示例:
for (i = 1; i le length; i = i + 1)
提前致谢。
Hi I'm very novice to coldfusion and I am trying to debug some cfscript logic. Basically I want to know what "le" means in the test-expression part of the for loop. I have looked through the coldfusion docs but can't find what it means. I am guessing it means less than or equals, but I believe that is denoted as LTE. Here's a sample of the code:
for (i = 1; i le length; i = i + 1)
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是LTE 的另一种说法。它们是等效的:
但是对于新代码,我会使用
<=
代替。更直观。It is an alternate way of saying LTE. These are equivalent:
But for new code, I would use
<=
instead. It is more intuitive.