Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
Delphi 10.2 Tokyo Professional
|
AW: VB Array/Variant nach Delphi konvertieren
20. Mai 2015, 10:41
Wie hast dus gemacht?
Bin mir eigentlich relativ sicher dass es so aussehen müsste:
Delphi-Quellcode:
var MyOptions: Variant;
res: Variant;
begin
res := 'Irgendwas'; // foo.runMacro(...)
MyOptions := VarArrayOf([VarArrayOf(['Option One', 1234]),
VarArrayOf(['Option Two','Michigan']),
VarArrayOf(['Option Three', res])]);
end;
Michael "Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
|
|
Zitat
|