Top Navigational Bar

Developer's ToolKit - What Language Is Used?
DocumentID: 634094
Revision Date: 29-Feb-96 3:03:33 PM

The information in this document applies to:
WordPerfect® 5.1 for DOS

Problem

Solutions: What language is used in the Developer's Toolkit?
WordPerfect software is coded in Assembly Language (MASM 5.0, Microsoft Macro Assembler 5.1). The diskettes included with the Toolkit are Assembler file format. To utilize the .ASM files, a developer will need an ASM86 Assembler. Conversion utilities can be written in other languages such as "C", depending on the experience of the developer. The information contained in the Toolkit is not confidential; however, please remember that the WordPerfect program itself is copyrighted, and should not under any circumstances be modified or tampered with.

An example of a structured section for the Keyboard Input Routine for Third-party interface follows:
      Input values
            AX = key code or 0
If AX = 0, has not checked for keyboard input yet, but is about to
If AX <> 0, then AX is the key code (see explanation of codes below) that was entered by the user. WordPerfect has not processed the key yet, but is about to.
            BX = WordPerfect state flag:
bits 0-1: Document # being edited (1,2, or 3)(3 = temporary for editing)
bit 2: 1 = main editing screen (not in a menu)
bit 3: 1 = editing a structure other than the main document (footer, header, text box, etc.)
      bit 4: 1 = macro being defined
                  bit 5: 1 = macro being executed
                  bit 6: 1 = merge active
                  bit 7: 1 = block on
                  bit 8: 1 = typeover mode, 0 = insert mode
                  bit 9: 1 = reveal codes active
                  bit 10: 1 = yes/no prompt active
      For WP5.1      bit 11: 1 = list files active
                  bit 12: 1 = in help

Answer:

Details:


Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER.