gpt4 book ai didi

delphi - 什么是重置(句柄,1)?

转载 作者:行者123 更新时间:2023-12-05 08:35:14 24 4
gpt4 key购买 nike

我遇到了这段 Reset(elfhandle,1) 代码,但我不知道 1 的第二个输入是做什么的。 Reset 的第二个输入指定什么?

最佳答案

System.Reset中的第二个参数函数是要读取的记录大小。

您可以在 Delphi online help 中找到更多信息.

RecSize is an optional expression that can be specified only if F is an untyped file. If F is an untyped file, RecSize specifies the record size to be used in data transfers. If RecSize is omitted, a default record size of 128 bytes is assumed.

关于delphi - 什么是重置(句柄,1)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7275136/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com