Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2002.04.22;
Скачать: CL | DM;

Вниз

Что делает процедура ProcessFile   Найти похожие ветки 

 
Dimaiv ©   (2002-04-09 20:39) [0]

в Хэлпе почему-то нет.


 
Anatoly Podgoretsky ©   (2002-04-09 20:49) [1]

Нет такой


 
Dimaiv ©   (2002-04-09 21:07) [2]

Вот пример из хелпа (пример для процедуры GetMem)
The following example opens a file named "test.txt" and reads the entire file into a dynamically allocated buffer. The buffer and the size of the file are then passed to a routine that processes the text, and finally the dynamically allocated buffer is freed and the file is closed.

var

F: file;
Size: Integer;
Buffer: PChar;
begin
AssignFile(F, "test.txt");
Reset(F, 1);
try
Size := FileSize(F);
GetMem(Buffer, Size);
try
BlockRead(F, Buffer^, Size);
ProcessFile(Buffer, Size);
finally
FreeMem(Buffer);
end;
finally
CloseFile(F);
end;

end;


 
MBo ©   (2002-04-09 21:14) [3]

;)
это самому ее писать надо


 
Anatoly Podgoretsky ©   (2002-04-09 21:21) [4]

Ее еще нет, напишешь, сделаешь хелп, подключишь его и только тогда сможешь ее находить



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

Текущий архив: 2002.04.22;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.014 c
3-69661
Canny
2002-04-02 00:00
2002.04.22
Как подключиться к базе MySQL?


1-69780
Бульбаш
2002-04-10 10:17
2002.04.22
Не пойму куда делись компонеты. Поставил вчера шестерку,


3-69726
Ross
2002-03-29 23:02
2002.04.22
Помогите решить проблему


14-70010
Nikolay
2002-03-15 12:11
2002.04.22
Где можно почитать про итерацию?


1-69819
Nikit
2002-04-08 12:58
2002.04.22
save/load to/from file