显示简单变量,迭代整个数组或关联数组,以及显示类的成员。
Display a simple variable, iterate over an array or associative array, and display the members of a class.
下面的示例演示如何循环一个序列,以及如何使用元组模式来代替简单变量。
The following example shows how to loop over a sequence, and how to use a tuple pattern instead of a simple variable.
到目前为止,您已经创建了一个脚本标头和一些简单变量,并且添加了一个函数,如清单14所示。
So far, you've created a script header and some simple variables and added a function, as shown in Listing 14.
Let's look at this 8th variance of this, otherwise, simple example.
这是这个例子的第8个变量版本,很简单。
I don't know what the names of the variables are, I don't care, I can basically suppress away that detail.
在solve函数中使用了些什么值,我不知道里面的变量的名称,我可以简单的跳过这些细节。
Sometime later, I will deal with functions of more than one variable, which I will briefly introduce to you, because that may not be a prerequisite but certainly something you will learn and you may use on and off.
再过段时间,我要开始处理多变量函数,到时候我会向你们进行简单介绍,因为那不是必须的,但是你们以后会学到,有时候还能派上用场
应用推荐