Gentee Programming Language > Documentation > Launch | Download documentation |
You should define a function of the following type, if you want to manually handle and lead the messages of the compiler and execution period core.
int (CALLBACK* messagefunc)( smess*)
The next structure’s pointer is used as a parameter, while the function itself should return “0.”
type smess { DWORD code LPSTR text LPCSTR filename DWORD line DWORD pos DWORD iscompile }
code Error code or message code. text Message text. filename Name of the file, in which the error occurred. line Number of the line, in which the error occurred. pos Position in the line, in which the error was detected. iscompile If “1,” than it is compiler’s error. If “0,” it is a run-time error.
Gentee API functions ge_init Error codes and message codes
![]() |
![]() Copyright © 2004-2006 Gentee Inc. All rights reserved. ![]() |