FileName (Record function): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Template:Record:FileName subtitle}} | |||
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 12: | Line 5: | ||
it returns one of the files in the group context. | it returns one of the files in the group context. | ||
==Syntax== | ==Syntax== | ||
{{Template:Record:FileName syntax}} | |||
===Syntax terms=== | |||
===Syntax | |||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>% | <tr><th>%string</th> | ||
<td>A string to contain the name of the file of the | <td>A string to contain the name of the file of the <var class="term">record</var>. | ||
</td></tr> | </td></tr> | ||
<tr><th> | <tr><th>record</th> | ||
<td> | <td>A <var>Record</var> object. | ||
</td></tr></table> | </td></tr></table> | ||
==See also== | |||
{{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. |