There is a bug in .NET explorer wizard when you generate an .apl for an assembly with a method (function) which expects an array of strings.
The generated code doesn't handle arrays correctly, so they are passed to the assembly without the last element.
So if you have an array of strings with five elements, the code will pass only four elements to the assembly method.
The same bug exists in TD7.1 beta.
I have already reported it to OT, but still don't have the defect number.
Attached is the repro I've sent them. There is an easy workaround - correct the code by yourself, but...
PS: The bug with the wrong number of arrayelements exists since TD6.0.
It's ok if I don't have to, but sometimes I do...
The status of TD-24018 shows as Defect-Resolved, so it should be in one of the future SP's and in the upcoming TD7.1
- Founder/Site Admin
- Posts: 472
- Joined: 24 Feb 2017, 09:12
- Location: Gouda, The Netherlands
Who is online
Users browsing this forum: No registered users and 0 guests