имеется код:
If OpenFile(0, File$) length = Lof(0) Format = ReadStringFormat(0) *Text = AllocateMemory(length+2) If *Text ReadData(0, *Text, length) Text = PeekS(*Text, -1, Format) FreeMemory(*Text) EndIf CloseFile (0) EndIf
не работает, думаю, по причине того, что файл начинается с NULL
как быть?
Отредактировано amer (11.02.2025 14:37:31)