> All of the Pascals that I have used allowed the <br>
> following shorthand, an extension:<br>
> reset(aFile, FileNameString); {or rewrite, etc.}<br>
> I tried overloading reset() ... but it didn't work.<br>
<br>
procedure reset(var f:text; const fn:string);<br>
begin<br>
assign(f, fn);<br>
system.reset(f);<br>
end;<br>
<br>
procedure reset(var f:file; const fn:string);<br>
begin<br>
assign(f, fn);<br>
system.reset(f);<br>
end;<br>
<br>