MIDletPascal

From Wikipedia, the free encyclopedia
MIDletPascal
Stable release 3.4
Preview release 3.5 BETA
Development status Active
Written in C, Java
Operating system Microsoft Windows
Available in English, Spanish, Arabic, French, Polish, Hungarian and Russian
Type Integrated development environment
License GNU GPL (compiler), BSD (IDE)
Website midletpascal.sourceforge.net

MIDletPascal is an 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 MIDlet pascal, transmitted the source code to the Russian Boolean.name development community for feature development. MIDlet Pascal is now open-source, and hosted at SourceForge.

In June 2010 MIDletPascal 3.0 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

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 antiviruses 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.

See also

  • Midlet
  • Pascal Programming Language
  • Comparison of Pascal IDEs

External links


This article is issued from Wikipedia. The text is available under the Creative Commons Attribution/Share Alike; additional terms may apply for the media files.