CURFILE parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
 
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Template:CURFILE parameter subtitle}}
==Summary==
==Summary==
<dl>
<dl>
Line 13: Line 14:
</dl>
</dl>
==Description==
==Description==
<p>The name of the current file     </p>
<p>
<p>You indirectly reset CURFILE when you issue OPEN (but not OPENC), CLOSE, or DEFAULT for a file or group. </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>
[[Category:Fparms, tables, and user Parameters]]
 
==See also==
<ul>
<li>The <var>[[DEFCNTX and APDFCNTX parameters|DEFCNTX and APDFCNTX]]</var> parameters, which are quite similar to <var>CURFILE</var> but provide more information and with more accuracy.</li>
 
<li>The <var>[[$Curfile]]</var> function.
<p class="note"><b>Note:</b> It is recommended that you use <code>$Curfile</code> rather than <code>$View('CURFILE')</code>; in some circumstances <var>$Curfile</var> returns more accurate information than the <var>CURFILE</var> parameter.</p></li>
 
<li>The <var>[[DEFAULT command|DEFAULT]]</var> and <var>[[OPEN FILE command|OPEN]]</var> commands, which reset the file/group context.</li>
 
<li>The <var>[[OPENC command|OPENC</var>]] command, which does <b>not</b> reset the file/group context.</li>
 
<li>The <var>[[CLOSE command|CLOSE</var>]] command, which might reset the file/group context.</li>
</ul>
[[Category:User parameters]]
 
[[Category:Parameters]]
[[Category:Parameters]]

Latest revision as of 21:34, 12 July 2017

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).

See also

  • The DEFCNTX and APDFCNTX parameters, which are quite similar to CURFILE but provide more information and with more accuracy.
  • The $Curfile function.

    Note: It is recommended that you use $Curfile rather than $View('CURFILE'); in some circumstances $Curfile returns more accurate information than the CURFILE parameter.

  • The DEFAULT and OPEN commands, which reset the file/group context.
  • The OPENC command, which does not reset the file/group context.
  • The CLOSE command, which might reset the file/group context.