Sometimes I come across something I think: what is the best way to convert this (this is Oxidized code). An array of strings is first presented in a plain object (converted from sample Java SOAP code). Of course it doesn’t compile the second line.
var &result: Object := Object(envelope.getResponse()); var results: array of String := String[](&result);
This was the original code:
Object result = (Object)envelope.getResponse(); String[] results = (String[]) result;
In my win32 days I used the Stringlist for this, but that’s not appropriate anymore Somehow I think I overlook a very obvious solution…