Why? Because that block identifies a set of things that I'm going to do if the test is true.
为什么呢?这是因为这一块指令,指定了一系列的要进行的操作,如果测试为真的话。
I guess it's the only place that is free
我猜这是唯一一块自由的天地,
There's the water phase, there's the ice cube is the solid phase, and there's some water, gas, vapor, and that's one bar.
里面放一块冰,这是固态;,于是我们得到了水,冰和水蒸气三态共存的点。
But imagine I actually wanted to gather them together. I wanted to collect them, so I could do something with them.
把那些除数都显示出来,这很有用,但是请想想下我想要,把它们放在一块。
Well, if you want to call a function, it's like putting another tray on that stack of trays and that tray represents a chunk of memory that, that function can use.
嗯,如果你想调用一个函数,这就像把一个托盘放到另一个托盘上,托盘代表一块,函数可以使用的内存。
And that very same hunk continued into 2000 and it continued into 2006.
这一块东西一直存在到2000年0,又存在到2006年。
We can focus on that revenue piece.
我们可以集中在收入这一块。
This particular one down here, this portion here is a heart/lung machine and this is a machine that can take over the function of a patient's heart and lungs during the period when they're undergoing open heart surgery, for example.
下面这是一个特别的设备,这一块是,心肺机,这台机器能够,在病人接受心脏手术的时候,替代病人的,心脏和肺的功能
In a sense, the earlier poem, "The Song of the Wandering Aengus," transformed the Irish landscape into a place of myth, in the same way that the poem is describing the transformation of the trout into the girl.
从某个角度讲,这首早期诗歌,流浪者安古斯之歌“,把爱尔兰变成一块神秘之地,这和把鳟鱼变成少女的转变,是一样的描写手法。
So let's have a new board, this one will do fine.
让我们换一块黑板,这一块就行
And that set of things is identified by the sequence of commands that are indented in, this one right here, following the colon but before I get back to the same place in terms of the indentation.
这个集合就是,后面缩进的一系列命令,就是这一块,在冒号后面,但是要,通过缩进。
OK. All right, let me show you one other tool that I want to use. Which is, I've written that piece of code, I ought to check it. Well, I could just run it, but another useful thing to do is, I'm, especially as I want to debug these things, is to simulate that code.
好,那么,让我给大家讲下,我想用的另外一个工具吧,也就是,我已经写好了这一块代码,我应该去检查检查,那么我可以去运行它,但是特别是当我想要调试代码的时候。
If it is true, execute the sequence of instructions.
如果是的话,执行这一块的指令。
And it's the 0s and 1s, that notice they're in patterns of 8 generally or chunks of 8, the so called byte that the actual CPU understands.
也就是一些0啊,1啊,请大家注意,这些数字每8个挨一块,这就是所谓的字节,实际CPU能够处理的东西。
But what looks like this orange block as of now in Scratch, add orange to your so called inventory, well, it's gonna take at least two lines of code in C to actually create the inventory array with this first line and then put something like the word orange inside of it.
就好比Scratch里面橘色的这一块,把“桔子“加到所谓的“清单“里面去,在C语言中至少需要两行代码来实现,第一行代码创建一个货单数组,第二行就需要把“桔子“放进去。
Another way of saying it is, I've actually said, what did I use there, and , It's basically saying there is the first point, there's the second point, add them together and I get that point.
我要去做的是-对不起,再运行一次-好,你可以看到我已经把,这两个点的坐标值加到一块儿了,然后返回了r的值,我会让大家看到我们,实际上得到的是什么,这看起来不错,好,我做了正确的操作。
This chunk of code and this chunk of code, they're really doing the same thing.
这一块代码和这一块代码,它们实际上是相同的功能。
You're incrementing this chunk of memory.
你增加了这一块内存。
And we're going to see, well all right.
在这一块程序中做的操作。
Sorry? OK. You're doing the whole thing for me What's the complexity just of this inner loop m How many times do I go through that loop?
就这一块代码的,我执行了多少次这个循环?,次对不对?,here?,Just,this,piece。,我一会儿就会去得到你的答案的?
应用推荐