Home      Downloads             Documentation      FAQ     

Documentation>ETP-Basic reference>Compilation errors

 

Compilation errors

 


Internal Error :It is an error in the software that happens during compilation. Try to find the line that makes this error and send it to the author.
Unacceptable variable name :A variable name mustn't have special characters. A variable name musn't be a reserved name as If, For, Public, etc.

Missing variable name :You declared a variable, but you something is missing. This error happens when you forget the keyword "as" to define the variable's type and the type itself. See Variable declaration

Expected word :Some keywords are needed by the compiler. if you forget "as" during a declaration or "Then" after if, you will get this error.

Unknown type :This happens when you try to declare a variable or when defining arguments with an unknown type. See: Variable declaration, new types declaration

Local declaration must be in a procedure or a function: It's explicit enough. See: Variable declaration

Main procedure doesn't accept any arguments :You can put arguments where you want, but the Main procedure is special. It doesn't accept arguments
Return is not allowed here :You will obtain this when you put "Return" outside of a function or procedure.

A procedure can't return a value: Only functions can return values. Check out that nothing is after "Return". See: Procedure or function declaration

Affectation non allowed here :You must make affectations in a procedure or a function.

Undeclared :When you use an unknown temr in an expression, the compiler will return this error. It may be a typing error or a non-declared variable.
Syntax Error :The compiler doesn't know the instruction.

Type without EndType :EndType keyword is missing when you declare a new type. See: new types declaration

If without EndIf (If sans EndIf)You put a condition, but the "EndIf" keyword is not put to set the end of the instructions to execute if the condition is true. See: Conditions

 

Documentation>ETP-Basic reference>Compilation errors

     
    About ETP Contact Us