Datasheet

Programming PIC Microcontrollers in BASIC - mikroElektronika
Example
WordToStr(Counter, Message)
' Copies value of word Counter into string Message
5.2.1.3 ShortToStr – Converts short to string
Prototype
sub procedure ShortToStr(dim input as short, dim byref txt as char[6])
Description Parameter <input> represents numerical value of short 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
ShortToStr(Counter, Message)
' Copies value of short Counter into string Message
5.2.1.4 IntToStr – Converts integer to string
Prototype
sub procedure IntToStr(dim input as integer, dim byref txt as char[6])
http://www.mikroelektronika.co.yu/english/product/books/picbasicbook/05.htm (11 sur 112)05/11/2004 02:20:52