From Clomosy Docs
(Created page with "<div class="alert alert-ligth border border-3 border-primary-subtle rounded-5 p-4 shadow-sm" role="alert"> procedure Reset(var FileHandle TextFile); </div> It is used to open the specified file in read or write mode.<br> <b>Example</b><br> <pre> var file1: TextFile; { if clFileExists('dosya.txt') then { AssignFile(file1, 'dosya.txt'); Reset(file1); //Reading or writing operations can be performed. } } </pre> <h2> See Also </h2> * File_Handli...") |
ClomosyAdmin (talk | contribs) No edit summary |
||
| Line 22: | Line 22: | ||
<h2> See Also </h2> | <h2> See Also </h2> | ||
* [[File_Handling | File Handling]] | * [[File_Handling | File Handling]] | ||
{{#seo:|description=Master the Reset feature in Clomosy Docs. Enhance your app’s usability by allowing users to quickly clear inputs or restore defaults.}} | |||
Revision as of 14:48, 23 December 2024
procedure Reset(var FileHandle TextFile);
It is used to open the specified file in read or write mode.
Example
var
file1: TextFile;
{
if clFileExists('dosya.txt') then
{
AssignFile(file1, 'dosya.txt');
Reset(file1);
//Reading or writing operations can be performed.
}
}