Delphi 系統[1]保留字和關鍵字
阿新 • • 發佈:2021-08-10
Delphi 系統[1]保留字和關鍵字
1、定義:
- 關鍵字,編譯器已內建的相關函式,不推薦用作識別符號(有特別意義的識別符號,有時又叫保留字),否則可能會出現異常錯誤.
- 保留字,指在高階語言中已經定義過的字,使用者不能再將這些字作為變數名或過程名使用。
2、字:
2.1 Delphi 保留字:
and array as asm begin case class const constructor destructor dispinterface div do downto else end except exports file finalization finally for function goto if implementation in inherited initialization inline interface is label library mod nil not object of or out packed procedure program property raise record repeat resourcestring set shl shr string then threadvar to try type unit until uses var while with xor
2.2 Delphi 關鍵字
absolute abstract assembler automated cdecl contains default dispid dynamic export external far forward implements index message name near nodefault on overload override package pascal private protected public published read readonly register reintroduce requires resident safecall stdcall stored virtual write writeonly
建立時間:2021.08.10 更新時間:
部落格園 滔Roy https://www.cnblogs.com/guorongtao 希望內容對你所有幫助,謝謝!