函数中的For Next在哪里? [英] Where is the For Next in the function

查看:62
本文介绍了函数中的For Next在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在理解匿名函数中的语法时遇到了一些麻烦。


我明白下一个循环是这样构造的

I am having some trouble understanding the syntax in an anonymous function.

I understand that a for next loop is constructed like this

展开 < span class =codeDivider> | 选择 | Wrap | Line数字

推荐答案

我相信这一行:
I believe this line:
展开 | 选择 | Wrap | 行号


是的!我收集到了。但是花括号表示循环中代码的开始和结束。我没有得到没有括号的那个如何工作并且不会抛出错误。
Yep! I gather that. but the curly brackets denote a start and a finish to the code within the loop. I don''t get how the one without the brackets even works and does not throw an error.


这个语句是完全正常的语法:
Well this statement is completely normal syntax:
展开 | 选择 | Wrap | 行号


这篇关于函数中的For Next在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆