Chapter 13 Device Logic (Pawn)
13.2.13 Console
native print(const string[]);
Prints the specified string to the standard output
Parameter
Explanation
string
The character string to be issued. This can include escape sequences.
Explanation
Return value
OK
native printf(const format[], {Float,Fixed,_}:...);
Prints the transferred format string to the standard output. The mode of operation of the functions
corresponds to that of the standard ANSI-C implementation.
Parameter
Explanation
format[]
The format character string to be used
Explanation
Return value
l
Number of printed characters
l
ERROR, if not successful
native setbuf(buf{}, size);
Provides the firmware with a buffer from the RAM area reserved for the script that is used to output
strings via the "printf()" function. When this function is called up, the system switches from the 256 byte
buffer integrated in the firmware to the transferred buffer.
Parameter
Explanation
buf
Static byte array that should be used as a buffer to output strings
size
Size of the buffer in bytes
Note:
If the function is called up again and the size is set to "0" during the
process, then the system switches back to the integrated buffer (256 bytes). The
transferred static byte array can then be used by the script again.
Explanation
Return value
l
OK, if successful
l
ERROR, if not successful
Rev. 05
185
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: ......