GetExpandLogicalFileName.xml 1.8 KB

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