The following walkthrough demonstrates how to use a custom action to take user input and pass it to a message box that appears during installation.
下面的演练演示如何使用自定义操作接受用户输入,并将用户输入传递给安装期间出现的消息框。
Let me make sure that the user annotations are disabled this time and let's take a little look at this one here.
我先把用户信息注释去掉,然后开始播放。
Right now, we're finally getting to the point of scratch which can take some input from the user.
马上,我们能接近scratch的关键了,即从用户那里获取输入。
So the take away is that if the user actually gives me two or three or four or whatever, this is this expression "is n less than 1" is going to evaluate to false if it's actually two or three or four or whatever.
所以先不管用户实际上给我,3,4还是其他数,这个表达式,“是否n小于1“将被评估为错误的,如果输入额是2,3,4或其它的数。
应用推荐