The convert function takes the variable containing the input string, as well as a reference to the Label widget as parameters, so that it can change the value shown by the Label.
convert以包含有输入字符串的变量以及对Label窗口小部件的引用作为参数,以改变Label所显示的值。
If you want to change an immutable object, you don't - you create a new object with the changed value and point your reference to it.
如果您想要改变一个不可变对象的话,您不会改变它,而是使用修改后的值来创建一个新的对象,并把您的引用指向它。
However, you must be aware that these alternatives change the semantics of the interaction from pass-by-value to pass-by-reference.
然而,您必须注意到这些可供选择的方案会将交互方法从按值传递(pass - by - value)改变为按引用传递(pass - by - reference)。
With pass by value, any change to the parameter is not reflected in the calling routine. Those who have used pass by reference will probably find this confusing.
参数按值传递的话,任何对该参数的修改都不会反射到调用这个方法的程序,使用按引用传递参数的人可能对这一点搞到困惑。
Objective To observe the change of blood serum sialic acid in experimental animal with bearing cancer, while there are no normal reference value on Wistar rats and KM mice blood serum sialic acid.
目的为了便于观察荷瘤实验动物血清唾液酸的变化情况,也鉴于国内文献尚无大鼠和小鼠血清正常参考值。
Note: The above value is for reference only, It is subject to change in accordance with actual fender system design.
注:上述尺寸为参考尺寸,应根据具体的护舷系统的设计核实调整。
I'd like to change the null value from my objects to a reference, if I can.
我想从我的空值改为参考对象,如果我可以。
When you pass a reference-type parameter by value, it is possible to change the data pointed to by the reference, such as the value of a class member.
以传值方式传递参考型别参数时,它有可能会变更到参考指到的资料,例如类别成员的值。
When you pass a reference-type parameter by value, it is possible to change the data pointed to by the reference, such as the value of a class member.
以传值方式传递参考型别参数时,它有可能会变更到参考指到的资料,例如类别成员的值。
应用推荐