叹久妞子
1、parameter是指函数定义中参数,而argument指的是函数调用时的实际参数。
2、函数声明的变量时候叫Parameter, 函数调用的变量时候叫Argument。
3、在不很严格的情况下,现在二者可以混用,一般用argument,而parameter则比较少用。
示例:
While defining method, variables passed in the method are called parameters.当定义方法时,传递到方法中的变量称为参数。While using those methods, values passed to those variables are called arguments.当调用方法时,传给变量的值称为引数。
pinguo0911
这个概念在中国的语法教科书上是很少见到的,至少我是没有见过的。"Argument in English Grammar"指的是动词完成表达所需要的其他成份。argument字面意思是参数,在语法中指代句子中的用于补充说明,帮助动词完成表达的语法元素。一个动词是无法完整表达一个句子意思的,它需要主语,宾语。这些都是它的argument。 所以可以说一个句子的最高层次结构是predicate和它的argument,然后加上adjunct。predicate和其argument用来表达句子的意思,然后adjunct可以添加一些补充的信息,虽然不是必须的。
Z黑暗中獨舞
具体区别如下:
1、释义不同。parameter是指决定因素;规范;范围,argument是指争论;争吵;争辩;辩论;论据;理由;论点。
2、 参数指向不同。parameter是指函数定义中参数,而argument指的是函数调用时的实际参数。
3、对应中文术语不同。parameter=形参(formal parameter), argument=实参(actual parameter)。
4、用法不同。在不很严格的情况下,现在二者可以混用,一般用argument,而parameter则比较少用。
5、在方法选择上不同。例如:
While defining method, variables passed in the method are called parameters.
当定义方法时,传递到方法中的变量称为参数。
While using those methods, values passed to those variables are called arguments.
当调用方法时,传给变量的值称为引数。(有时argument被翻译为“引数“)
优质英语培训问答知识库