Вниз
Скачать: 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.009 c
14-69994
Дмитрий
2002-03-15 12:24
2002.04.22
Документооборот?


14-70021
KvORubin
2002-03-17 18:24
2002.04.22
RichEdit - как в нём отобразить непечатаемые символы (как в M.Office)


1-69864
AZU
2002-04-08 12:38
2002.04.22
TComboBox.Ctl3d


14-70015
Zool
2002-03-16 23:30
2002.04.22
Файл


1-69860
BorisMor
2002-04-08 17:46
2002.04.22
Передача пути.




   Наверх