All right? So if I called sqrt alone, that return test value is done, but in this case I bound it to test, so I can go look at test, and there it is.
执行完返回值语句,但是在这里我将把它赋值给,所以当我看test的值的时候就是返回的值。
All right? The first one is, that test has to involve-- shouldn't have to, the value of some variable.
好不好?第一件事是,循环开始的测试必须必须-不是一定,一些变量的值。
And each proposes to Socrates a test that he will have to pass in order to prove the value of justice and the just life.
每一个建议对苏格拉底都是一次必需通过的测试,以证明,正义与公正人生的价值。
- And it's worth--; it's sort of a useful test for asking yourself -- what are the things you must value in life-- to ask, what would you choose to do if you knew you had five years, ten years, ? what have you?
而这值得;,这算是一种很有用的测试,用来问自己什么是你在生命中必须珍惜的事-,问你会怎么选择,如果你知道自己还有5年,10年,之类的时间?
And if the test is true, it will change the value of this program counter to point to some other place in the memory, some other point in that sequence of instructions, and you'll keep processing.
如果测试结果为真,它会改变程序计数器的结果去,指向记忆存储器里的其他地方,指令序列里的其他地方,然后你会继续这个过程。
Along the way I have some tests, and depending on the value of that test, I may change where I am in that sequence of instructions.
我会按顺序进行一些测试,按照测试的数值,我会改变之指令序列中,我的位置。
I don't have to go read what it printed out in the screen. This has returned a value that I can use. Because I could do a test to say, is this a return value? If it's not, I'll do something else with it. So the binding is still there, it simply doesn't print it out.
我不想读到屏幕中打印出来的这行字,程序返回过一个我能够使用的值,因为我可以做个小测试,来说明这是否是返回的值,如果不是,我可以做一些其它的事,而这个绑定依然在这儿,没有打印任何东西。
And that test is usually a value of a variable.
测试通常是针对变量的值。
And they'll test an intermediate value near the end or near the beginning.
他们从最后或者程序的,开始处去取测试需要的中间值。
I'm doing a test there to say, x if the string x is less than the value of b, and x does not appear before b as strings, then I was going to do, oh, a couple of things, because they're at the same block level.
我正在做一个测试来看看,字符串,是不是小于b的值,而且x不在b之前作为字符串出现,如果是真的话我就要做,一系列的操作,因为他们是在同一个块等级上。
I'm expecting the value that test to be a Boolean. Followed by a colon.
我希望测试的结果值的类型,是Boolean的,后面是个冒号。
应用推荐