ajterr:10001

This is an old revision of the document!


Importing is only allowed before declaring any classes (AJTERR10001)

Product(s) KARO.NET Compiler

A #import parser instruction was used inside a class or an enum defintion or after it.

test::testClass {
   #import sl;
// ^^^^^^^^^^^ Import parser instruction is invalid here
}

Put the #import parser exception on top of the file outside the class/enum definition.

  • ajterr/10001.1756581221.txt.gz
  • Last modified: 2026-06-17 00:19
  • (external edit)