• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

DelphiXE5教程9:基本语法元素

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

内容源自Delphi XE5 UPDATE 2官方帮助《Delphi Reference》,本人水平有限,欢迎各位高人修正相关错误!
也欢迎各位加入到Delphi学习资料汉化中来,有兴趣者可QQ:[email protected]

Fundamental Syntactic Elements

第三章 基本语法元素

Fundamental syntactic elements, called tokens, combine to form expressions, declarations, and statements. A statement describes an algorithmic action that can be executed within a program. An expression is a syntactic unit that occurs within a statement and denotes a value. A declaration defines an identifier (such as the name of a function or variable) that can be used in expressions and statements, and, where appropriate, allocates memory for the identifier.

基本语法元素被称为tokens,它们组合起来构成表达式、声明和命令语句。命令语句描述算法行为,它是可执行的;表达式是一个语法单元,它出现在命令语句中并表示一个值;声明定义一个标识符(比如函数或变量的名称),可以用在表达式或命令语句中,并在适当的地方为标识符分配内存。

token就是把程序的语句进行类似分词得到的单词。是系统中的唯一标识。

 

This topic introduces the Delphi language character set, and describes the syntax for declaring:

本主题介绍了Delphi语言的字符集,并介绍了语法声明:

 

Identifiers

标识符

Numbers

数字

Character strings

字符串

Labels

标签

Source code comments

源代码注释


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
matlab中使用elseif和if嵌套的对比发布时间:2022-07-18
下一篇:
MATLAB语法规则 - 回忆患了风寒发布时间:2022-07-18
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap