equals sign
等号
2025-10-31 12:14 浏览次数 11
等号
error:the expression to the left of equals sign is not a valid target for an assignment.
错误:表达式等号的左边不是有效的赋值目标。
thesquiggly equals sign ?should be read 「approximately equal to.」[1] applying this insight, we have that
公式中的约等号 ?应该念作「约等于」[1]
method definitions start with the def keyword, followed by optional argument lists, a colon character ‘:’ and the return type of the method, an equals sign ‘=’, and finally the method body.
方法定义由一个def关键字开始,紧接着是可选的参数列表,一个冒号「:」和方法的返回类型,一个等于号「=」,最后是方法的主体。
note the equals sign before the body of double.
注意double主体前的等于号。
a member initializer that specifies a collection initializer after the equals sign is an initialization of an embedded collection.
在等号后指定集合初始化器的成员初始化器是对内嵌集合的初始化。
the cause of this unexpected behavior is a missing equals sign in the method definition. here is the definition we actually intended.
造成这样意外结果的原因是在方法定义中缺少的等于号。下面是我们实际上需要的定义。
the upper method definition begins on the second line with the def keyword, followed by the method name and an argument list, the return type of the method, an equals sign ‘=’, then the method body.
upper方法的定义在二行,以def关键字开始,紧接着是方法名,参数列表,和方法的返回类型,最后是等于号「=」,和方法的主体。
there is no metric or calculation for a crime and the punishment it should receive. we simply draw an equals sign between the two and tinker with the punishment until it feelsequal to the crime.
这里没有尺度和估算去衡量罪与罚,我们单单用刑法在两者之间画出等号或者用刑罚补救,直到我们觉得足够了为止。
the code in listing 4 uses the equals sign to indicate that certain characters and character groups are equivalent.
清单4中的代码使用等号表示某些字符和字符组是等价的。
for each line, the values on the left of the equals sign represent a context-relative web application path.
对于每一行,等号左边的值表示相对上下文的web应用路径。
it「s not an equals sign like we」ve seen before, or a double arrow.
并不是我们前面看到过的等号,或者双箭头。
the expression to the left of the equals sign is not a valid target for an assignment.
等号左边的表达式,对于赋值,并不是一个有效目标。
methods are implicitly declared 「abstract」 if you leave off the equals sign and method body.
如果你不写等于号和方法主体,那么方法会被隐式声明为「抽象」。
so i simply have, in my small-angle approximation, t it「s approximately, but i still put an equals sign there.
所以,在小角度近似值中,就等于mg,that,i,can,make,t,the,same,as,mg。,这是近似值,但是依然写等于号。
the body of the upper method comes after the equals sign ‘=’.
upper方法的主体跟在等于号「=」后面。
the cause of this unexpected behavior is a missing equals sign in the method definition.
造成这样意外结果的原因是在方法定义中缺少的等于号。
the equals sign before the method body tells the compiler, as well as the human reader, where the method body begins.
方法主体前面的等于号告诉编译器函数的主体从这里开始,就像我们看到的一样。
and i」m using the so-called 「assignment operator,」 a single equals sign to store in n what?
我用了一个复制操作符“,一个等号向n中存储了什么?
a subtle but important difference between auth and list is that list is a closure, whereas auth is a private method. (closures use an equals sign in the definition; methods use parentheses.)
auth和list之间微妙但重要的一点区别是list是一个闭包,而auth是一个私有方法(闭包在定义中使用等号;方法使用圆括号)。