delphi 中 gg=low(integer)..high(integer)什么意思
2个回答
展开全部
帮助里有(函数返回参数的下限值 ):
function Low(X);
In Delphi code, call Low to obtain the lowest value or first element of an Ordinal, Array or ShortString. Result type is X, or the index type of X where X is either a type identifier or a variable reference.
Type Low returns
Ordinal type (includes Int64) The lowest value in the range of the type
Array type The lowest value within the range of the index type of the array
short string type Returns 0
Open array Returns 0
short string parameter Returns 0
function High(X);
Description
In Delphi code, call High to obtain the upper limit of an Ordinal, Array, or ShortString value. The result type is X, or the index type of X.
X is either a type identifier or a variable reference. The type denoted by X, or the type of the variable denoted by X, must be one of the following:
For this type High returns
Ordinal type (includes Int64) The highest value in the range of the type
Array type The highest value within the range of the index type of the array. For empty arrays, High returns ?.
short string type The declared size of the string
Open array The value, of type Integer, giving the number of elements in the actual parameter minus one
short string parameter The value, of type Integer, giving the number of elements in the actual parameter minus one
function Low(X);
In Delphi code, call Low to obtain the lowest value or first element of an Ordinal, Array or ShortString. Result type is X, or the index type of X where X is either a type identifier or a variable reference.
Type Low returns
Ordinal type (includes Int64) The lowest value in the range of the type
Array type The lowest value within the range of the index type of the array
short string type Returns 0
Open array Returns 0
short string parameter Returns 0
function High(X);
Description
In Delphi code, call High to obtain the upper limit of an Ordinal, Array, or ShortString value. The result type is X, or the index type of X.
X is either a type identifier or a variable reference. The type denoted by X, or the type of the variable denoted by X, must be one of the following:
For this type High returns
Ordinal type (includes Int64) The highest value in the range of the type
Array type The highest value within the range of the index type of the array. For empty arrays, High returns ?.
short string type The declared size of the string
Open array The value, of type Integer, giving the number of elements in the actual parameter minus one
short string parameter The value, of type Integer, giving the number of elements in the actual parameter minus one
威孚半导体技术
2024-08-19 广告
2024-08-19 广告
威孚(苏州)半导体技术有限公司是一家专注生产、研发、销售晶圆传输设备整机模块(EFEM/SORTER)及核心零部件的高科技半导体公司。公司核心团队均拥有多年半导体行业从业经验,其中技术团队成员博士、硕士学历占比80%以上,依托丰富的软件底层...
点击进入详情页
本回答由威孚半导体技术提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询