Вниз
Скачать: 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 вся ветка

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



Память: 0.45 MB
Время: 0.01 c
4-70059
Swinger
2002-02-18 20:30
2002.04.22
Последовательный запуск двух программ.


1-69786
dim-
2002-04-10 11:51
2002.04.22
TreeView


14-69996
Oleg Gashev
2002-03-14 22:46
2002.04.22
Release Notes


1-69790
Lame1
2002-04-10 12:24
2002.04.22
Чтение записей из файла


3-69692
Sirus
2002-03-30 11:02
2002.04.22
Hello кул программеры... тут проблемка с DCOM




   Наверх