FileName (Record function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Template:Record:FileName subtitle}}
{{Template:Record:FileName subtitle}}
This <var>ReadOnly</var>, non-shared property returns
the name of the file in which the record resides.
For file context <var>Record</var> objects, <var>FileName</var> returns
For file context <var>Record</var> objects, <var>FileName</var> returns
the compile-time file context.
the compile-time file context.
Line 11: Line 8:
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%fname</th>
<tr><th>%string</th>
<td>A string to contain the name of the file of the ''%rec'' record.
<td>A string to contain the name of the file of the <var class="term">record</var>.
</td></tr>
</td></tr>
<tr><th>%rec</th>
<tr><th>record</th>
<td>An instantiated <var>Record</var> object variable.
<td>A <var>Record</var> object.


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

Latest revision as of 11:50, 8 February 2012

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

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

%string A string to contain the name of the file of the record.
record A Record object.

See also