In the following example, the lr.log function sends a message including an integer to the log files.
Dim ip as Integer
ip = 1000 * Rnd
lr.log "The IP address is " + Cstr(ip)
Example: The output includes a leading quote mark:
"The IP address is 461