I'm gonna keep as part of each stock, it's history of prices, which we can initialize, well, I've initialized it as empty, but that's probably the wrong thing, right?
我会把股票的历史价格,作为每只股票的一部分,我们可以先对它的历史价格进行赋值,好了,我先给它赋了空值,但是这样做可能不对,是吗?
Now, what did I want to do? I wanted to check membership. I want to do search. Well that's simple. Given that representation and some value, I just say gee is it there?
现在,我需要做什么?,我要做成员检查,我要做查找,这就很简单了,给了即定的表示和一些值,我只需要说喂在那儿吗?
Okay? So those are the basic note values normally with a duple division but we can superimpose triple by using a dot and the absence of sound.
清楚了吗,这些就是基本的音符值,一般是双倍形式分配,但我们可以把它添加为三倍形式的,通过加上附点当然还有休止符
Inside of solve, solve creates an environment where inside of that, it has bindings for the parameters it's going to use. All right?
在solve内部,solve创建了一个环境,在这个环境中它给她要使用的形参赋了值,明白吗?就像很多--等等?
So what's going to happen here? If I'm inside this FOR, OK, and I'm running around, if I ever hit a place where this test is true, I'm going to execute that return, return that return returns from the entire procedure. OK? So the return comes back from the procedure.
那么这里发生了什么呢?,如果我是在这个for循环里面,我正在运行,如果我运行到test的值为真的地方,我就会执行,这个return将会返回整个程序的值,明白了吗?所以它将会从整个程序中返回值。
It could be the pair of none, none, it could be the pair of, you know, whatever the answer was that we put up there. That value comes back out and is now available inside the scope of Barnyard. OK. And Barnyard then uses that. Question?
也可以是,你知道,任何我们在这里得到的答案,这个返回的值在Barnyard范围内,就可以使用了,然后Barnyard就使用了这个值,有什么问题吗?
应用推荐