CURFILE parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
Line 15: Line 15:
==Description==
==Description==
<p>
<p>
The name of the current file     </p>
The name of the current file, that is, the default file context (if the default context is not a <var class="product">Model 204</var> group).</p>
<p>
<p>
<var>CURFILE</var> is reset by the <var>[[DEFAULT command|DEFAULT]]</var> command.
You indirectly reset <var>CURFILE</var> when you issue <var>OPEN</var> (but not <var>OPENC</var>), <var>CLOSE</var>, or <var>DEFAULT</var> for a file or group. </p>
You indirectly reset <var>CURFILE</var> when you issue <var>OPEN</var> (but not <var>OPENC</var>), <var>CLOSE</var>, or <var>DEFAULT</var> for a file or group. </p>
==See also==
<ul>
<li>The <var>[[DEFCNTX parameter|DEFCNTX]]</var> parameter (which is quite similar to <var>CURFILE</var> but provides more information) and the <var>[[APDFCNTX parameter|APDFCNTX]]</var> parameter.
<li>The <var>[[$Curfile]]</var> function.
</ul>
[[Category:User parameters]]


[[Category:Parameters]]
[[Category:Parameters]]

Revision as of 20:36, 7 April 2015

Current file

Summary

Default value
None
Parameter type
Fparms, tables, and user
Where set
View-only
Related products
All
Introduced
Model 204 V6.1 or earlier

Description

The name of the current file, that is, the default file context (if the default context is not a Model 204 group).

CURFILE is reset by the DEFAULT command. You indirectly reset CURFILE when you issue OPEN (but not OPENC), CLOSE, or DEFAULT for a file or group.

See also

  • The DEFCNTX parameter (which is quite similar to CURFILE but provides more information) and the APDFCNTX parameter.
  • The $Curfile function.