FindSuperFileSubName.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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="FindSuperFileSubName">
  5. <title>FindSuperFileSubName</title>
  6. <para><emphasis role="bold">STD.File.FindSuperFileSubName<indexterm>
  7. <primary>STD.File.FindSuperFileSubName</primary>
  8. </indexterm><indexterm>
  9. <primary>File.FindSuperFileSubName</primary>
  10. </indexterm><indexterm>
  11. <primary>FindSuperFileSubName</primary>
  12. </indexterm>(</emphasis> <emphasis> superfile, subfile </emphasis>
  13. <emphasis 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>superfile</emphasis></entry>
  21. <entry>A null-terminated string containing the logical name of the
  22. superfile.</entry>
  23. </row>
  24. <row>
  25. <entry><emphasis>subfile</emphasis></entry>
  26. <entry>A null-terminated string containing the logical name of the
  27. sub-file.</entry>
  28. </row>
  29. <row>
  30. <entry>Return:<emphasis> </emphasis></entry>
  31. <entry>FindSuperFileSubName returns an INTEGER4 value.</entry>
  32. </row>
  33. </tbody>
  34. </tgroup>
  35. </informaltable>
  36. <para>The <emphasis role="bold">FindSuperFileSubName </emphasis>function
  37. returns the ordinal position of the specified <emphasis>subfile</emphasis>
  38. in the <emphasis>superfile</emphasis>.</para>
  39. <para>This function is not included in a superfile transaction.</para>
  40. <para>Example:</para>
  41. <programlisting format="linespecific">A := STD.File.GetSuperFileSubName('~CLASS::RT::IN::SF1', 'Sue'); //get position of sub-file Sue</programlisting>
  42. </sect1>