ajterr:10020

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ajterr:10020 [2025-03-09 14:38] – created adminajterr:10020 [2025-09-05 23:45] (current) admin
Line 1: Line 1:
-====== A function marked as entrypoint must not have any arguments (AJTERR10020) ======+====== A function marked as entrypoint must not have any parameters (AJTERR10020) ======
  
-^ Product(s) | Product 1; Product 2; |+^ Product(s) | Karo.NET compiler |
  
 ===== Description ===== ===== Description =====
  
-A function marked as entrypoint must not have any arguments as these cannot be provided by the runtime.+A function marked as entrypoint must not have any parameters as these cannot be provided by the runtime.
  
 <code> <code>
-#entrypoint;+#entryPoint;
 main |test: string|: void { } main |test: string|: void { }
 //    ^^^^^^^^^^^^ An argument //    ^^^^^^^^^^^^ An argument
 +</code>
 ===== How can I resolve this error? ===== ===== How can I resolve this error? =====
  
-Remove all arguments from the function definition.+Remove all parameters from the function definition.
  
-{{tag>AJTERR}}+{{tag>AJTERR KARONETCOMPILER}}
  • ajterr/10020.1741527515.txt.gz
  • Last modified: 2025-03-09 14:38
  • by admin