-
Code's Tags
-
Your Codes
-
Reffers
-
Linked Codes
|
Code:
Short link for Twitter:
HTML:
HTML view:
Copy Source | Copy HTML- class procedure TFileUtils.SaveStrToFile(SrcStr: string; FileName: string);
- var
- FS: TFileStream;
- begin
- FS := TFileStream.Create(FileName, fmCreate);
- try
- FS.WriteBuffer(SrcStr[1], Length(SrcStr) * SizeOf(SrcStr[1]));
- finally
- FS.Free;
- end;
- end;
|