Datasheet
Programming PIC Microcontrollers in BASIC - mikroElektronika
5.2.1.1 ByteToStr – Converts byte to string
Prototype
sub procedure ByteToStr(dim input as byte, dim byref txt as char[6])
Description Parameter <input> represents numerical value of byte type that should be converted to string; parameter <txt>
is passed by the address and contains the result of conversion.
Parameter <txt> has to be of sufficient size to fit the converted string.
Example
ByteToStr(Counter, Message)
' Copies value of byte Counter into string Message
5.2.1.2 WordToStr – Converts word to string
Prototype
sub procedure WordToStr(dim input as word, dim byref txt as char[6])
Description Parameter <input> represents numerical value of word type that should be converted to string; parameter <txt>
is passed by the address and contains the result of conversion.
Parameter <txt> has to be of sufficient size to fit the converted string.
http://www.mikroelektronika.co.yu/english/product/books/picbasicbook/05.htm (10 sur 112)05/11/2004 02:20:52