Sometimes its useful when developing to write out values to the debug window. This example shows you how.