Вниз
Скачать: CL | DM;

Reset (file,mode)   Найти похожие ветки 

← →
Yuri Btr ©   (2002-06-14 12:48) [0]

Подкиньте пожалуйста параметры открытия файла:
например
Reset(F,1) - открытие файла read-only?


← →
Игорь Шевченко ©   (2002-06-14 12:51) [1]

Что, кнопка F1 из клавиатуры безжалостно выковырена ? :-)


← →
Виктор Щербаков ©   (2002-06-14 12:51) [2]

procedure Reset(var F [: File; RecSize: Word ] );

Description

Reset opens the existing external file with the name assigned to F. An error results if no existing external file of the given name exists. If F is already open, it is first closed and then reopened. The current file position is set to the beginning of the file.

F is a variable of any file type associated with an external file using AssignFile. RecSize is an optional expression, which 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.

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 a text file, F becomes read-only.

After a call to Reset, Eof(F) is True if the file is empty; otherwise, Eof(F) is False.

Note: {$I+} handles run-time errors using exceptions. When using {$I-}, use IOResult to check for I/O errors.


← →
Виктор Щербаков ©   (2002-06-14 12:52) [3]

Игорь Шевченко © (14.06.02 12:51)
Но главное меню-то (с пунктом help) точно осталось :^)


← →
Игорь Шевченко ©   (2002-06-14 12:55) [4]

Виктор Щербаков © (14.06.02 12:52)

На меню Help надо глаза поднимать...А кнопка под рукой


← →
Yuri Btr ©   (2002-06-14 12:58) [5]

Послушайте, я облазил весь хелп и обе книги по Delphi, но конкретно там ничего не сказано про режим открытия файла.


← →
Игорь Шевченко ©   (2002-06-14 13:02) [6]

Reset - один режим,
Rewrite - другой
Append - третий
Truncate - четвертый.

Плохо лазил. Вверху в Help есть два зеленых слова see also,
що у переводе по нашему означает см. также


← →
Sasha9 ©   (2002-06-14 13:02) [7]

а откуда по твоему это?
Виктор Щербаков © (14.06.02 12:51)



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.46 MB
Время: 0.01 c
1-88830
snoup
2002-06-17 11:36
2002.06.27
Привет всем, как удалить программно с едита 2 символа при нажатии


14-89027
IronHawk
2002-05-20 11:13
2002.06.27
---|Ветка была без названия|---


8-88963
Pete
2002-02-18 15:34
2002.06.27
Помогите реализовать...


4-89076
Deus
2002-04-29 18:14
2002.06.27
Как получить handle окна, имеющего фокус ввода?


1-88824
Валет
2002-06-17 08:42
2002.06.27
Несколько вопросов по завершению работы ПК




   Наверх