FMX ExecuteSubroutine Multiple params

Using Delphi Berlin, I'm writing an Android App, how would I pass multiple parameters when running a Subroutine?


The examples I found are VCL, not FMX but they use VarArrayOf( [param1, param2] )
When I do the same in an FMX app, I get 'There is no overloaded version of 'ExecuteSubroutine' that can be called with those parameters.


Hello, you can simply use an array of const:


ExecuteSubroutine('MyRoutine', [param1, param2]);

Thank you.


I'm sure I tried that, but obviously I didn't as it's now building