home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / vpdesc.txt < prev    next >
Text File  |  1996-07-22  |  12KB  |  250 lines

  1. Virtual Pascal for OS/2 v1.0  - by fPrint UK Ltd
  2.  
  3. ** The Product
  4. Virtual Pascal for OS/2 - or just VP/2 - is a professional 32- bit
  5. Pascal development environment for OS/2.  Compatible with the de facto
  6. Pascal standard set by Borland Pascal and Borland Delphi, VP/2 offers an
  7. easy way of porting existing DOS and Windows applications to 32-bit
  8. OS/2.
  9.  
  10. ** The Editor
  11. The built-in editor features multiple edit windows, syntax highlighting,
  12. unlimited undo/redo operations, keystroke macros, full context-sensitive
  13. help, and everything else you should expect and demand of a professional
  14. programming environment.
  15.  
  16. ** The Compiler
  17. The sophisticated built-in compiler produces stable 32-bit code,
  18. optimised for both speed and code size. Smart Linking, which prevents
  19. never-used code, variables, etc from ending up in your executable also
  20. forms part of the compiler and the Presentation Manager Clock example
  21. that comes with VP/2 takes up less than 8kB on the hard disk!  Programs
  22. written with VP/2 of course do not require separate run-time DLLs to run
  23. - all the end-user needs is the final executable file.  VP/2 allows you
  24. to build DLLs. VP/2 DLLs can export anything declared in the interface
  25. section of a unit (even objects and classes) making it possible to
  26. create DLLs containing entire object hierarchies - such as Turbo Vision
  27. or the Delphi Visual Component Library.
  28.  
  29. VP/2 is compatible with the languages of both Borland Pascal and Delphi.
  30. Both object models (object and class) are supported, as are advanced
  31. exception handling, multi- threading, Run-Time Type Information etc.
  32. Full source code for the fully re-entrant and multi-threading prepared
  33. Run-Time Library files Dos, Crt, Strings, WinDos and WinCrt units are
  34. available, as are the interface sections of the System, SysUtils,
  35. TypInfo and Classes units compatible with Borland Delphi.
  36.  
  37. Advanced users will appreciate the powerful 32-bit Built-in assembler
  38. that supports all assembler instructions, including the 486- and
  39. Pentium-specific ones. The compiler generates standard 32-bit .obj or
  40. .lib files and can optionally output standard .asm files that can be
  41. compiled with a standard assembler like Turbo Assembler.
  42.  
  43. ** The Debugger
  44. The powerful Integrated Development Environment has the functionality of
  45. Borland Pascal v7 combined with Borland Turbo Debugger - and more. The
  46. IDE gives full control over program execution at both source and
  47. assembler code level and features a variety of integrated debugging
  48. aids. During execution, you can watch the value of any expression,
  49. browse your object hierarchy, follow the call stack, display the CPU
  50. registers and the state of the numeric co-processor - all while your
  51. application is running.  Use the powerful Object Inspector to view
  52. complex structured variables, and follow the loading and unloading of
  53. OS/2 system DLLs in the Log window - it is all there. The extremely
  54. powerful CPU window can be used to view and modify the code at
  55. assembler-level and gives you total control over program flow while
  56. allowing you to carefully inspect the code generated by the compiler. In
  57. this window, VP/2 even supports debugging of any 16-or 32-bit OS/2
  58. executable - just load and debug!
  59.  
  60. ** The Documentation
  61. VP/2 is delivered with extensive documentation covering everything
  62. needed to get going with serious OS/2 development. A hardcopy VP/2 Users
  63. Guide carefully describes the IDE and the usage of the different
  64. components of VP/2, and guides the new user through the difficulties
  65. involved in writing a program and debugging it.  The extensive VP/2
  66. Language Reference Manual, also delivered in hard copy, thoroughly
  67. describes the formal syntax of the VP/2 language as well as the inner
  68. workings of the compiler.
  69.  
  70. Supplementing the printed manuals, VP/2 comes with an in-depth
  71. description of all OS/2 API calls for both text-mode and Presentation
  72. Manager.  These online manuals are delivered both in the OS/2 INF file
  73. format and in the compact VP/2 help file format for use directly in the
  74. IDE.  Additionally, owners of a version of Turbo Pascal can use the
  75. supplied Help Converter to convert Borland's help files to the VP/2
  76. format.
  77.  
  78. ** The Toolkits
  79. VP/2 v1.0 comes with support for a number of popular toolkits and
  80. libraries, making it possible to migrate applications written using
  81. these to OS/2 as well. Borland's Turbo Vision and a clone of Borland's
  82. Object Windows Library graphical library are included with optional
  83. source code support.  The full shareware TechnoJock Turbo Toolkit is
  84. included, as is the powerful MATHPAK87 Lite mathemathical library.  For
  85. users of TurboPower's DOS toolkits Object Professional, Async
  86. Professional and B-Tree Filer, source code upgrade patches are included
  87. in the VP/2 package.
  88.  
  89. ** The Examples
  90. More than 150 examples are included, both as VP/2 source code and as
  91. executables ready to run. The examples demonstrate both the
  92. VP/2-compatible toolkits as well as a wide range of features and
  93. techniques that can be used to write OS/2 text- mode or Presentation
  94. Manager applications. The examples include a B-Tree Filer database
  95. program, a PM Clock, a program demonstrating how to extend the
  96. capabilities of REXX from VP/2, a full-screen graphics example, a PM
  97. racing game using the DIVE interface as well as examples of printing
  98. from Presentation Manager, multithreading applications and more.
  99.  
  100. ** The Competition
  101. Virtual Pascal for OS/2 is not alone in claiming superior compatibility
  102. with Borland Pascal and Delphi.  The following is a comparison between
  103. Virtual Pascal for OS/2, Speed- Pascal/2 and Borland Pascal for DOS and
  104. compares the compile time and the size of the executable file.  Smaller
  105. numbers are desirable.
  106.  
  107. The first two rows list the compile times and executable sizes for
  108. TVDEMO, a Turbo Vision demo program delivered with Borland Pascal v7
  109. demonstrating a range of features of the Turbo Vision library.  The
  110. example, including the TV library, consists of about 22000 lines of
  111. source code.  The next two rows are the figures for HELLO, a 4 line
  112. program that just writes `Hello World' on the screen.
  113.  
  114. Action                  VP/2 v1.0    SP/2 v1.5G1 BP v7.0
  115.  
  116. TVDEMO: Smallest        124kB        247kB       150kB
  117. executable              13 sec       48 sec      4 sec
  118.  
  119. TVDEMO: With debug      152kB        557kB       300kB
  120. information             12 sec       54 sec      4 sec
  121.  
  122. HELLO: Smallest         3900 bytes   28160 bytes 2096 bytes
  123. executable              0.5 sec      4 sec       0 sec
  124.  
  125. HELLO: With debug       4004 bytes   31303 bytes 4013 bytes
  126. information             0.5 sec      4 sec       0 sec
  127.  
  128. Still, speed is not everything. VP/2 offers superior compatibility with
  129. the Borland languages and the following table shows some of the
  130. differences in language support:
  131.  
  132. Compiler                     VP/2     SP/2    BP v7.0   Delphi   Delphi
  133. feature                      v1.0    v1.5 G1             v1.0     v2.0
  134.  
  135. Circular unit                 yes      no       yes      yes      yes
  136. references in the
  137. implementation part
  138.  
  139. Mem and Port arrays           yes      no       yes      yes       no
  140.  
  141. Thread local storage          yes      no       no        no      yes
  142.  
  143. Open String parameters        yes      no       yes      yes      yes
  144.  
  145. Comp type                     yes      no       yes      yes      yes
  146.  
  147. Currency type                 yes      no       no        no      yes
  148.  
  149. SizeOf( Real ) = 6            yes      no       yes      yes      yes
  150.  
  151. Export variables,             yes      no       no        no       no
  152. typed constants, objects
  153. and classes from DLLs
  154.  
  155. Outputs standard .OBJ files   yes      no       no        no      yes
  156.  
  157. Can link external .OBJ files  yes      no       yes      yes      yes
  158.  
  159. Call 16-bit APIs directly     yes      no1      n/a      n/a      n/a
  160.  
  161. Unit Initialization and       yes      no       no        no      yes
  162. Finalization parts
  163.  
  164. Also of importance are the tools and help available.  The following
  165. table shows a summary of features available in Virtual Pascal for OS/2
  166. and Speed Pascal/2, compared with Borland's Pascal products:
  167.  
  168. Debugger feature             VP/2     SP/2    BP v7.0   Delphi   Delphi
  169.                              v1.0    v1.5 G1             v1.0     v2.0
  170.  
  171. Single-step execution         yes      yes      yes      yes      yes
  172.  
  173. Expression Evalutor           yes     yes(2)    yes      yes      yes
  174.  
  175. Watch window                  yes     yes(2)    yes      yes      yes
  176.  
  177. Symbol browser                no       no       yes      yes      yes
  178.  
  179. Call stack window             yes      no       yes      yes      yes
  180.  
  181. Breakpoints dialog            yes      no       yes      yes      yes
  182.  
  183. Conditional Breakpoints       yes      no       yes      yes      yes
  184.  
  185. Data-Breakpoints              yes      no      yes(3)     no       no
  186.  
  187. Threads dialog                yes      no       n/a      n/a      yes
  188.  
  189. CPU window                    yes      no      yes(3)     no       no
  190.  
  191. Numeric processor window      yes      no      yes(3)     no       no
  192.  
  193. Registers window              yes      yes      yes       no       no
  194.  
  195. Dump window                   yes      no      yes(3)     no       no
  196.  
  197. Symbols window                yes      yes      yes      yes      yes
  198.  
  199. Object hiearchy window        yes      no       yes      yes      yes
  200.  
  201. Inspector window              yes      no      yes(3)    yes      yes
  202.  
  203. Log window                    yes      no      yes(3)     no       no
  204.  
  205. Other features
  206.  
  207. English online help           yes      yes      yes      yes      yes
  208.  
  209. German online help            no       yes      yes      yes      yes
  210.  
  211. Printed manual                yes     yes(4)    yes      yes      yes
  212.  
  213. Resource Editor               no       yes      yes      yes      yes
  214.  
  215. Help compiler                 yes      no       yes      yes      yes
  216.  
  217. Presentation Manager IDE      yes      yes      no       yes      yes
  218.  
  219. Text mode only IDE            yes      no       yes       no       no
  220.  
  221. Stand-alone compiler          yes      yes      yes      yes      yes
  222.  
  223. Note: The product versions reviewed are listed in the column headings.
  224. Specifications are subject to change without notice.
  225. _______________________________
  226. (1) Calling the OS/2 keyboard, mouse and video 16-bit standard
  227.     API functions requires the use of a 27kB pre-built thunk layer
  228.     DLL. To use other 16-bit DLLs, a new thunk layer DLL must be
  229.     written in another language, for example VP/2.
  230. (2) The Evaluator and Watch window allow simple variables without format
  231.     specifiers only
  232. (3) Only available in Turbo Debugger, which is part of the Borland
  233.     Pascal v7 product
  234. (4) The printed manual is available at additional cost
  235.  
  236. ** The Process
  237. The process of actually writing a program in VP/2 is the classic one:
  238. Write code - Test - Remove bugs etc, until the program works according
  239. to specification. The code can be written in the built-in editor window
  240. and the compiled, as illustrated on the  screenshot to the right.
  241.  
  242. The task of debugging the code is done in the editor window as well,
  243. with the help of the host of helping windows available. In the
  244. screenshot shown to the right, the PM Clock example program is being
  245. debugged, and execution has been interrupted in the processing of the
  246. OS/2 Presentation manager message wm_size.  In addition to the source
  247. code and the Symbols window, the application itself can be seen.
  248.  
  249.  
  250.