This is an old revision of the document!
A function marked as entrypoint must not have any arguments (AJTERR10020)
Product(s) | Product 1; Product 2; |
---|
Description
A function marked as entrypoint must not have any arguments as these cannot be provided by the runtime.
#entrypoint; main |test: string|: void { } // ^^^^^^^^^^^^ An argument
How can I resolve this error?
Remove all arguments from the function definition.