Kalpana Kalpana (Editor)

MIDletPascal

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Development status
  
Active

Operating system
  
Microsoft Windows

Written in
  
C, Java

MIDletPascal

Stable release
  
3.5 FINAL / February 2, 2013; 4 years ago (2013-02-02)

Available in
  
English, Spanish, Arabic, French, Polish, Hungarian and Russian

Type
  
Integrated development environment

MIDletPascal is a Pascal compiler and IDE specifically designed to create software for mobiles. It generates Java bytecode that runs on any Java ME device. In September 2009, Niksa Orlic, who wrote MIDletPascal, transmitted the source code to the Russian Boolean.name development community for feature development. MIDletPascal is now open-source, and hosted at SourceForge.

Contents

On 2 February 2013, MIDletPascal 3.5 Final released.

Features

  • generates low-level, small and fast Java bytecode
  • full Pascal specification support
  • parts of code can be written directly in Java
  • SMS messaging
  • HTTP connectivity
  • user-interface (forms) support
  • multimedia support
  • user-friendly IDE
  • Hello World

    Because it runs on mobiles that don't have a console, the Hello world program of MIDletPascal is quite different from a normal Pascal "Hello World".

    program HelloWorld;
    begin DrawText ('Hello, World!', 0, 0); Repaint; Delay(2000); end.

    Issues with anti-virus software

    Current versions of certain anti-virus (Norton, McAfee, ...) see any class file generated by MidletPascal as being a virus, "Trojan. Redbrowser.A", and automatically quarantine the suspected file.

    This may be a false positive, because the RedBrowser trojan was written using the MidletPascal tool (see Notes from McAfee).

    It seems anti-virus software look for some specific class into the jar package. Using an obfuscator as JShrink the midlet won't match with the AV dictionary.

    This problem has been fixed in MIDletPascal 3.0 BETA.

    References

    MIDletPascal Wikipedia