NEW2.03.04 · Released 3 February 2016
NEWfinPOWER Connect
Released in
2.03.04
3 February 2016
- Opened3 Dec 2015
- Closed3 Dec 2015
- 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 BooleanDim Account As finAccountDim s As String' Assume SuccessMain = Trues = "Hello"Account = finBL.CreateAccount()Account.Load("L10000")finBL.DebugPrint(s)finBL.DebugPrint(Main)finBL.DebugPrint(Account)End Function