The following Rulesheet uses .log to calculate the logarithm (base 10) of integer1 and assign it to decimal1.

SAMPLE RULETEST 1

A sample Ruletest provides results for three examples of integer1. Input and Output panels are shown below:

SAMPLE RULETEST 2

Another sample Ruletest for three examples of integer1 where one example is equal to zero (0). The resulting error is illustrated below. Notice that the error encountered in the second example causes all Rulesheet execution to halt, leaving the third example unprocessed.