Article Details
Id:20418
Product:finPOWER Connect
Type:NEW
Version:4.00.03
Opened:06/07/2023
Closed:06/07/2023
Released:27/09/2023
Job: J031503

DebugPrint; added option to indent messages

A new option has been added to indent debug messages.

This is achieved by changing the DebugIndent value, see example code below:

' Make sure indent is cleared
finBL.DebugIndent = 0

' Indent
finBL.DebugIndent += 2

finBL.DebugPrintFormat("Account = {0}", Account.AccountId)
finBL.DebugPrintFormat("Name = {0}", Account.Name)
finBL.DebugPrintFormat("Status = {0}", Account.Status)

' Outdent
finBL.DebugIndent -= 2