GetFileDescription.xml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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="GetFileDescription">
  5. <title>GetFileDescription</title>
  6. <para><emphasis role="bold">STD.File.GetFileDescription<indexterm>
  7. <primary>STD.File.GetFileDescription</primary>
  8. </indexterm><indexterm>
  9. <primary>File.GetFileDescription</primary>
  10. </indexterm><indexterm>
  11. <primary>GetFileDescription</primary>
  12. </indexterm>( </emphasis> <emphasis>filename </emphasis> <emphasis
  13. role="bold">)</emphasis></para>
  14. <informaltable colsep="0" frame="none" rowsep="0">
  15. <tgroup cols="2">
  16. <colspec colwidth="80.50pt" />
  17. <colspec />
  18. <tbody>
  19. <row>
  20. <entry><emphasis>filename</emphasis></entry>
  21. <entry>A null-terminated string containing the logical name of the
  22. file.</entry>
  23. </row>
  24. <row>
  25. <entry>Return:<emphasis> </emphasis></entry>
  26. <entry>GetFileDescription returns a VARSTRING (null-terminated)
  27. value.</entry>
  28. </row>
  29. </tbody>
  30. </tgroup>
  31. </informaltable>
  32. <para>The <emphasis role="bold">GetFileDescription </emphasis>function
  33. returns a string containing the description information stored by the DFU
  34. about the specified <emphasis>filename</emphasis>. This description is set
  35. either through ECL watch or by using the STD.File.SetFileDescription
  36. function.</para>
  37. <para>Example:</para>
  38. <programlisting format="linespecific">A := STD.File.GetFileDescription('Fred');</programlisting>
  39. </sect1>