Show: Delphi C++
Display Preferences

Talk:System.Reset

From RAD Studio API Documentation
Jump to: navigation, search

If F is assigned an empty name such as AssignFile(F, ), then after the call to Reset, F refers to the standard input file.

If F is assigned an empty name such as AssignFile(F, ), then after the call to Reset, F refers to the standard input file.

is wrong. Please add "empty string" in 2nd parameter of AssignFile. Proposal is

If F is assigned an empty name such as AssignFile(F, ''), then after the call to Reset, F refers to the standard input file.

--Tarisawa (talk) 13:38, 21 March 2014 (PDT)


The check of RecSize error check behaves like the rest of platforms, It would be fine to remark this behaviour. So given this line:

  If RecSize is omitted, a default record size of 128 bytes is assumed.

I would update it as:

  If RecSize is omitted, a default record size of 128 bytes is assumed. If RecSize <=0 it will cause an IO Error 106.

And I would add this line add the end:

  If any IO error is happen, the file is closed. Don't need to call CloseFile.

--Diegoe (talk) 01:20, 25 March 2014 (PDT)

Personal tools
In Other Languages
Previous Versions
Assistance