CURFILE parameter: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (→See also) |
||
Line 19: | Line 19: | ||
==See also== | ==See also== | ||
<ul> | <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>[[DEFCNTX parameter|DEFCNTX]]</var> parameter (which is quite similar to <var>CURFILE</var> but provides more information and with more accuracy), and see the <var>[[APDFCNTX parameter|APDFCNTX]]</var> parameter.</li> | ||
<li>The <var>[[$Curfile]]</var> function. | <li>The <var>[[$Curfile]]</var> function. | ||
<li>The <var>[[DEFAULT command|DEFAULT]]</var> and <var>[[OPEN file command|OPEN]]</var> commands, which reset the file/group context. | <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>[[OPENC command|OPENC</var>]] command does <b>not</b> reset the file/group context. | |||
<li>The <var>[[CLOSE command|CLOSE</var>]] command, which might reset the file/group context. | <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> | </ul> | ||
Revision as of 21:49, 13 May 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).
See also
- The DEFCNTX parameter (which is quite similar to CURFILE but provides more information and with more accuracy), and see the APDFCNTX parameter.
- 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.