FileName (Record function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<span class="pageSubtitle"><section begin=dpl_desc/><section end=dpl_desc/></span>
{{Template:Record:FileName subtitle}}
[[Category:Record methods|FileName function]]
<p>
<var>FileName</var> is a member of the <var>[[Record class|Record]]</var> class.
</p>


This <var>ReadOnly</var>, non-shared property returns
This <var>ReadOnly</var>, non-shared property returns
Line 12: Line 8:
it returns one of the files in the group context.
it returns one of the files in the group context.
==Syntax==
==Syntax==
<p class="syntax">%fname = %rec:FileName
{{Template:Record:FileName syntax}}
</p>
===Syntax terms===
===Syntax Terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%fname</th>
<tr><th>%fname</th>
Line 23: Line 18:


</td></tr></table>
</td></tr></table>
==See also==
{{Template:Record:FileName footer}}

Revision as of 21:50, 20 April 2011

Return the name of the file that contains the Record object's record (Record class)


This ReadOnly, non-shared property returns the name of the file in which the record resides. For file context Record objects, FileName returns the compile-time file context. For group context record objects, it returns one of the files in the group context.

Syntax

%string = record:FileName

Syntax terms

%fname A string to contain the name of the file of the %rec record.
%rec An instantiated Record object variable.

See also