But there's a key line of code that I lost over a moment ago and that was this one here.
但是我刚才漏了一行关键的代码,就是这里的这一行。
But just a moment ago you were scared they might arrest you, I say.
我说:“刚才你还说你害怕被他们抓着。”
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,而是用一个。
But there's a key line of code that I lost over a moment ago and that was this one here.
但是我刚才漏了一行关键的代码,就是这里的这一行。
And then as soon as the function returns, you kinda have to unwind but remember where you were just a moment ago.
一旦函数返回,你必须记得之前在哪个位置。
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.
如果你认真看下这些拼图,你会发现它都是一些移动,并发出声音的功能块,就像我刚才的,练习程序一样,我们让飞利浦做这个动作,做那个动作,跟这里的情况一样,我们已经看到了称为循环的东西。
应用推荐