LibCo '1
 YellowAfterlife [ http://yellow.orgfree.com ]
: http://forum.boolean.name/showthread.php?t=13427

:
1.  JRE (Java Runtime Enviroment) - http://java.sun.com
2.    (LibCo)    Midlet Pascal ( "MP33A\LibCo")

:
1.  _CC.bat (_C.bat  LibCo     MidletPascal)
2.      ( "test")
     ,  "src"        .
3.     ,     (  );
        ,      "bin"
    ,    _CC.bat,        "Libs" MP.
4.         3.      , 
   -     .    .

 #define:
 DefSimple,            
   .
   :
#define `1` `2`
 1 -  ,  2 - ,    .
   (?)      :
* .  ,         ,  
      "final static".    #define,    
         (\\\..)
* ""  , ,  .      ( )
  "import javax.microedition.lcdui.Displayable"       
    ,   .  #define     
    src\_global.java,        :
  "#define `import Displayable` `import javax.microedition.lcdui.Displayable`"
*   .
     ,      (public static)  
  ,  ()       
   .         ( ) 
   ,  :
// ...  :
#define `mouse_x` `z[0]`
#define `mouse_y` `z[1]`
// ...  :
public static int z[4]; //  
// ...  :
i = mouse_x * 2; //    ,   
//      "i = z[0] * 2;"


  :
\Readme.txt           
\_C.bat               
\_CC.bat               (+   ..\Libs)
\_J.bat                   "-".
                          ( Lib_*)
\DefSimple.exe       "-",   #define   .
                            SP2.
\Equiv.txt                 Java  Pascal.
                       ,        Pascal.
\bin\                   
\com\                   .
\lib\                  ,      
                         ,   MP
\src\                     ( )
\src\_global.java    ,     #define*
\tmp\                   - (#)  

:
http://forum.boolean.name/forumdisplay.php?f=46
^  ,  MidletPascal
...           .
http://java.sun.com/javame/reference/apis/jsr118/overview-summary.html
^     Java ME,    .

 () :
#define `*hello` `"Hello, world!"`
lib_test
{
	string helloworld() //     
	{
		return *hello;
	}
	integer keystates() //       -  MID2.0 Fullscreen
	{
		return M.T.getKeyStates();
	}
}