mvToolbox  
Features
  Overview (Power Point)

Testimonials
  Read
  Post

Downloads
  Free Trial
  Current Modules
  New Revisions
  Terms of Use
  Documentation

Buy

Product Activation

Support
  User FAQS
  User Forum
  Contact Support

Company
  Contact Us
  News
  Alliances
  PICK Links

Post a Question
Search FAQS

How do I compare two selected sections of code

Post 2 [30 Jun 2004 10:37PM]
Name
Jack
City
Boulder
State
CO
Email
URL

I am reconciling two programs that are similar, but the routines have been re-arranged in the second. Is there any way to compare two routines that will not normally align in VGER without having to re-arrange the routines back?

Further, is there any way to compare two routines in the same program with similar but not equal variable names.

Send To Printer

(1) Bring both programs up in VGER in split screen mode.
(2) Set blocks in each window for the blocks you want to compare.
(3) Type BL.EDIT and it will edit both blocks in a new split screen VGER window.

If the blocks to be compared are in the same program, edit the program in full screen mode. You can still use BL.EDIT by supplying the blocks in the command:
       BL.EDIT 139-160 181-201
This will edit the blocks from the same program in a new split screen VGER window.

There is another command that is very useful when comparing similar blocks of code - EQUIV. This command, when in split screen mode will set strings from the left and right windows to be equivalents, thus removing their highlights from the display. When in the mvToolbox, type "HELP EQUIV" for a full description of the command.