GetUniqueInteger.xml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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="GetUniqueInteger">
  5. <title>GetUniqueInteger</title>
  6. <para><emphasis>result</emphasis> <emphasis role="bold"> :=
  7. STD.System.Util.GetUniqueInteger<indexterm>
  8. <primary>STD.System.Util.GetUniqueInteger</primary>
  9. </indexterm> <indexterm>
  10. <primary>System.Util.GetUniqueInteger</primary>
  11. </indexterm> <indexterm>
  12. <primary>Util.GetUniqueInteger</primary>
  13. </indexterm> <indexterm>
  14. <primary>GetUniqueInteger</primary>
  15. </indexterm>( [ </emphasis> <emphasis>dali</emphasis> <emphasis
  16. role="bold"> ] );</emphasis></para>
  17. <informaltable colsep="0" frame="none" rowsep="0">
  18. <tgroup cols="2">
  19. <colspec colwidth="80.50pt" />
  20. <colspec />
  21. <tbody>
  22. <row>
  23. <entry><emphasis>dali</emphasis></entry>
  24. <entry>Optional. A null-terminated string containing the ip address
  25. of the remote dali to provide the number. If omitted, the default is
  26. local.</entry>
  27. </row>
  28. <row>
  29. <entry>Return:</entry>
  30. <entry>GetUniqueInteger returns returns an UNSIGNED8 value.</entry>
  31. </row>
  32. </tbody>
  33. </tgroup>
  34. </informaltable>
  35. <para>The <emphasis role="bold">GetUniqueInteger </emphasis>function returns
  36. a number that is unique across all the slave nodes of the specified
  37. <emphasis>dali</emphasis>.</para>
  38. <para>Example:</para>
  39. <programlisting format="linespecific">IMPORT STD;
  40. OUTPUT(STD.System.Util.GetUniqueInteger());
  41. </programlisting>
  42. </sect1>