Key assignments with variables.
ArborX


Summary
Assign the number of pages and page down by that amount of pages to a key.

The macros assigned to a key can be as simple or as complicated as you like, although they should not be longer than 255 characters. Although you cannot include script conditions on a key assignment, ^ macros can be used, allowing you to produce key assignments such as the one shown below. This uses getvar to get the number of pages currently shown on-screen by tpagexy, and then makes the  R  key go down by that number of pages:

 *1081 (wdb "Ac","Dn"):(tpagexy):(^Ac*^Dn):(tpgoto+<^Ac^)

Document created on 08-Feb-2003 (revision 1)