GetExpandLogicalFileName.xml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
  4. <sect1 id="GetExpandLogicalFileName">
  5. <title>GetExpandLogicalFileName</title>
  6. <para><emphasis role="bold">ThorLib.GetExpandLogicalFileName<indexterm>
  7. <primary>STD.System.ThorLib.GetExpandLogicalFileName</primary>
  8. </indexterm> <indexterm>
  9. <primary>System.ThorLib.GetExpandLogicalFileName</primary>
  10. </indexterm> <indexterm>
  11. <primary>ThorLib.GetExpandLogicalFileName</primary>
  12. </indexterm> <indexterm>
  13. <primary>GetExpandLogicalFileName</primary>
  14. </indexterm> ( </emphasis> <emphasis>filename </emphasis> <emphasis
  15. role="bold">)</emphasis></para>
  16. <informaltable colsep="1" frame="all" rowsep="1">
  17. <tgroup cols="2">
  18. <colspec colwidth="80.50pt" />
  19. <colspec />
  20. <tbody>
  21. <row>
  22. <entry><emphasis>filename</emphasis></entry>
  23. <entry>A null-terminated string containing the logical name of the
  24. file.</entry>
  25. </row>
  26. <row>
  27. <entry>Return:<emphasis> </emphasis></entry>
  28. <entry>GetExpandLogicalFileName returns a VARSTRING
  29. (null-terminated) value.</entry>
  30. </row>
  31. </tbody>
  32. </tgroup>
  33. </informaltable>
  34. <para>The <emphasis role="bold">GetExpandLogicalFileName </emphasis>function
  35. returns a string containing the expanded logical filename (ncluding the
  36. default scope, if the filename does not contain a leading tilde), all in
  37. lowercase. This is the same value as is used internally by DATASET and
  38. OUTPUT.</para>
  39. <para>Example:</para>
  40. <programlisting format="linespecific">A := ThorLib.GetExpandLogicalFileName('Fred');</programlisting>
  41. </sect1>