13.2.16.4 Functions
native FT_Register(const name{}, id, funcidx);
Registers a file made available by the PAWN script
Parameter
Explanation
name
Unique file name
id
Unique identification with which the file is then referenced (freely selectable)
funcidx
Index of the public function that should be called up if a file transfer command has
been received
Type of function: public func(id, cmd, const data{}, len, ofs);
Important note:
All file transfer commands (see "File transfer
commands" in chapter "Constants" on page 188) must be handled by this
public function.
Explanation
Return value
l
OK, if successful
l
< OK, if an error occurs (see "Return codes for general purposes" in
chapter "Constants" on page 118)
native FT_Unregister(id);
Removes a file from the registration. The file is no longer available for the file transfer.
Parameter
Explanation
id
Unique identification with which the file is referenced (specified during
registration)
Explanation
Return value
l
OK, if successful
l
< OK, if an error occurs (see "Return codes for general purposes" in
chapter "Constants" on page 118)
190
Rev. 05
Summary of Contents for myDatalogEASY V3
Page 2: ......
Page 13: ...Chapter 2 Declaration of conformity Chapter 2 Declaration of conformity Rev 05 13 ...
Page 14: ......
Page 42: ......
Page 76: ......
Page 88: ......
Page 102: ......
Page 110: ......
Page 116: ......
Page 234: ......
Page 244: ......
Page 252: ......
Page 254: ......
Page 266: ......
Page 276: ......