- Well, just a moment ago, we did have -- -- and this time I'll use some chalk here -- a moment ago, we did have a picture depicting what was going on when you call the function.
好的,刚才,我们确实有-,这一次我将用一些粉笔-,刚才,我们有一张图描绘了当我们调用函数的时候,会发生什么事情。
And then as soon as the function returns, you kinda have to unwind but remember where you were just a moment ago.
一旦函数返回,你必须记得之前在哪个位置。
We'll talk about whether food can be addictive, as I mentioned just a moment ago.
我们将讨论食物是否会使人上瘾,这我刚才也提到过
This Cambridge History of Food talks about three separate primary phases in human food evolution: one beginning a million and a half years ago, another about 700,000 years ago, and then the 10,000 year ago one that I talked about just a moment ago.
剑桥饮食史》描述了,人类饮食结构演化过程中的三个不同阶段,其一,始于一百五十万年前,其二,距今约七十万年,其三,距今一万年,我们刚讨论过了
Well, again, just as I said verbally a moment ago, if you're going here, you're literally touching, trying to read or change memory that's beyond the boundaries of a chunk of memory that you're supposed to be touching based on its length.
嗯,再次强调,就像我刚才说的,如果你从这里出发,你将依次接触到,试着读取或者改变内存,如果超出了你可以使用的,内存块长度的界限。
So, at the very top of the file I'm just copying and pasting what was essentially on the slide a moment ago.
在这个文件的顶端,我只是做了复制和传递。
If I go back to that code from a moment ago, and I just rerun math3, notice how many places printed after the decimal point -- two?
如果刚才我回到那段代码中去,我们回到math3,请注意在小数点后面,会打印几位数呢--两位?
And so when you start to poke around the puzzle pieces, you see that it can say things, we'll see movement in just a moment and sound and so forth, but at the end of the day, this is just like the program we used a moment ago for the sock exercise where we just hold Philip a step after step after step, do this, do this, do that, and yet, here too, we already see an opportunity for that thing we called the loop.
如果你认真看下这些拼图,你会发现它都是一些移动,并发出声音的功能块,就像我刚才的,练习程序一样,我们让飞利浦做这个动作,做那个动作,跟这里的情况一样,我们已经看到了称为循环的东西。
We've seen this branching construct in Scratch, we've seen it a moment ago on the slide, and see, we just need else if to use not an else, not just an if but an else if.
我们看到了这个Scratch的分支结构,我们看到刚才在幻灯片中,了解到,我们不需要,用一个else,也不只是用一个if,而是用一个。
So, main meanwhile is going to change, but let's fast forward to the end just to confirm that all I did was copy and paste what was on the slide a moment ago.
所以,main同时要改变,快速翻到末端,来确认,我刚才所做的就是,在面板上复制粘贴。
应用推荐