home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2001 November / Gamestar_34_2001-11_cd1.bin / PATCHE / colobotpatch17e.exe / english / help / cbot / testinfo.txt < prev   
Text File  |  2001-09-14  |  960b  |  19 lines

  1. \b;Instruction \c;testinfo\n;
  2. Syntaxª:
  3. \s;\c;testinfo ( name, power );\n;
  4.  
  5. Tests if an information exists in the closest \l;information exchange post\u object\exchange;.
  6.  
  7. \t;name: \c;string\n;
  8. Name of the information to be tested in the exchange post. This name is a string: it must be written in quotation marks "ª".
  9.  
  10. \t;power: \c;float\n;
  11. Power of the transmitter, which corresponds to the maximal distance between the transmitter and the exchange post. If the distance is longer, the function returns \c;false\n;. Default value is 10 metres.
  12.  
  13. \t;Return: \c;\l;bool\u cbot\bool;\n;
  14. Return \c;true\n; if the information exists. Return and \c;false\n; if the information does not exist or if the receiver is too far away from the exchange post.
  15.  
  16. \t;See also
  17. \c;\l;receive\u cbot\receive;\n;, \c;\l;send\u cbot\send;\n; and \c;\l;deleteinfo\u cbot\delinfo;\n;.
  18. \l;Programming\u cbot;, \l;types\u cbot\type; and \l;categories\u cbot\category;.
  19.