NEW2.03.04 · Released 3 February 2016
NEWfinPOWER Connect
Released in
2.03.04
3 February 2016
  1. Opened3 Dec 2015
  2. Closed3 Dec 2015
  3. Released3 Feb
Article 13480 Job J016647

New finBL.DebugPrint method that can accept an object value

The standard finBL.DebugPrint method (used by Scripts) requires that a String value is passed to it.

A new, overloaded version allows an Object value to be passed. For value-type objects, this will simply format them as Strings. For object-type values, it will attempt to expand each of the first-level object properties.

NOTE: Use finBL.DebugWatch for a more complete view of an object-type value.

The following, General Script demonstrates this new method:

Public Function Main(parameters As ISKeyValueList) As Boolean

  Dim Account As finAccount
  Dim s As String

  ' Assume Success
  Main = True

  s = "Hello"
  Account = finBL.CreateAccount()
  Account.Load("L10000")

  finBL.DebugPrint(s)
  finBL.DebugPrint(Main)
  finBL.DebugPrint(Account)


End Function