MIDletPascal

From Wikipedia, the free encyclopedia

MIDletPascal is a Pascal compiler and IDE specifically designed to create software for mobiles. It generates Java bytecode that runs on any J2ME device.

Contents

[edit] 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


[edit] Hello World

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

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

[edit] 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 JShink the midlet won't match with the AV dictionary.

[edit] See also

[edit] External links