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

  1. \b;Instruction \c;send\n;
  2. Syntaxª:
  3. \s;\c;send ( name, value, power );\n;
  4.  
  5. Sends an information to the closest \l;information exchange post\u object\exchange;.
  6.  
  7. \t;name: \c;string\n;
  8. Name of the information to be sent to the exchange post. This name is a string: it must be written in quotation marks "ª".
  9. If there is any information having this name, a new entry is created, as far as the total number of entries does not exceed 10. If there is already an information having this name, value is simply replaced by the new.
  10.  
  11. \t;value: \c;float\n;
  12. Value of the information to be sent.
  13.  
  14. \t;power: \c;float\n;
  15. Power of the transmitter, which corresponds to the maximal distance to where information can be the sent. Default value is 10 metres.
  16.  
  17. \t;See also
  18. \c;\l;receive\u cbot\receive;\n;, \c;\l;testinfo\u cbot\testinfo;\n; and \c;\l;deleteinfo\u cbot\delinfo;\n;.
  19. \l;Programming\u cbot;, \l;types\u cbot\type; and \l;categories\u cbot\category;.
  20.