Главная страница
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.017 c
14-70031
Sergey_
2002-03-13 13:39
2002.04.22
печать под досом на hp-1100


1-69828
kserg@ukr.net
2002-04-10 17:12
2002.04.22
Можно ли в Паскале создавать макроподстановки?


1-69821
hooky-mars
2002-04-10 18:38
2002.04.22
SystemTray&Windows


3-69695
mrl
2002-03-30 14:48
2002.04.22
Фильтрация в Delphi


3-69757
Awex
2002-04-02 16:51
2002.04.22
Пострелятационная Cache от InterSystem