Example: lr.log

In the following examples, lr.log function sends messages to the log files.

Example 1 - Sending a Simple Message

lr.log("Accessing Talk Forum ORB...");

Example 2 - Sending Strings, Longs, and Other Data Types

String str = "Test" 
long lg = 100 
lr.log("The value of str = " + str + ".")
lr.log("The value of lg is " + cstr(lg) + "." )

Example3 - Sending the Output of a Function Call

lr.log("Chat Population = " + cstr(orChatForum.count()) )
lr.log "Last Chat Name = " +orChatForum.LastSubmitName()