CURFILE parameter

From m204wiki
Revision as of 21:34, 12 July 2017 by ELowell (talk | contribs) (→‎See also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.