zoukankan      html  css  js  c++  java
  • Delphi XE5教程9:基本语法元素

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

    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

    源代码注释

  • 相关阅读:
    块级元素与行级元素(内联元素)
    css中属性值继承小解
    form表单
    html,xhtml和xml
    html中的标签分类
    如何把HTML标记分类
    实现对HashMap的value排序
    装饰者模式
    实现一个简单的二叉树容器,并且实现中序、先序、后续遍历
    Java中java.util.concurrent包下的4中线程池代码示例
  • 原文地址:https://www.cnblogs.com/taukinfo/p/3555205.html
Copyright © 2011-2022 走看看