请输入您要查询的字词:

 

单词 assignment statement
释义
assignment statement

Computer
  • A fundamental statement of all programming languages (except declarative languages) that assigns a new value to a variable. The typical form in Algol-like languages is

    variable:=expression

    where := is read as ‘becomes’; the symbol suggests a left-pointing arrow to signify the conveyance of a value to the variable on the left. Other languages (particularly Basic, C, C++, Java, and Fortran) use = as the assignment operator, e.g.

    a=b+c

    This leads to problems in expressing the concept of equality. Basic, being an unsophisticated language, is able to use = for both purposes; C, C++, and Java use = = for equality and Fortran uses .EQ.


随便看

 

科学参考收录了60776条科技类词条,基本涵盖了常见科技类参考文献及英语词汇的翻译,是科学学习和研究的有利工具。

 

Copyright © 2000-2023 Sciref.net All Rights Reserved
京ICP备2021023879号 更新时间:2025/2/5 23:47:56