123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
- "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
- <sect1 id="RenameLogicalFile">
- <title>RenameLogicalFile</title>
- <para><emphasis role="bold">STD.File.RenameLogicalFile<indexterm>
- <primary>STD.File.RenameLogicalFile</primary>
- </indexterm><indexterm>
- <primary>File.RenameLogicalFile</primary>
- </indexterm><indexterm>
- <primary>RenameLogicalFile</primary>
- </indexterm>(</emphasis> <emphasis> filename, newname </emphasis>
- <emphasis role="bold">)</emphasis></para>
- <informaltable colsep="1" frame="all" rowsep="1">
- <tgroup cols="2">
- <colspec colwidth="80.50pt" />
- <colspec />
- <tbody>
- <row>
- <entry><emphasis>filename</emphasis></entry>
- <entry>A null-terminated string containing the current logical name
- of the file.</entry>
- </row>
- <row>
- <entry><emphasis>newname</emphasis></entry>
- <entry>A null-terminated string containing the new logical name for
- the file.</entry>
- </row>
- </tbody>
- </tgroup>
- </informaltable>
- <para>The <emphasis role="bold">RenameLogicalFile </emphasis>function
- changes the logical <emphasis>filename</emphasis> to the
- <emphasis>newname</emphasis>.</para>
- <para>Example:</para>
- <programlisting format="linespecific">A := STD.File.RenameLogicalFile('Fred', 'Freddie');</programlisting>
- </sect1>
|