Skip to main content
Home Browse Text Processing Extended Counting Wp
Extended Counting Wp
Extended Counting Wp icon

Extended Counting Wp

Filenameextended-counting-wp.hqx
Size4.7 KB (4853 bytes)
Downloads11
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
About
The WordPerfect for Macintosh macro, "Extended Counting" saved in the attached document demonstrates an algorithm which allows you to count beyond WordPerfect's variable limit of 32,767. My purpose in writing this was to allow a prompt displaying a counter variable to continue working after 32,767 iterations. The Extended Counting macro updates a prompt each time the counter is incremented by 1. Displaying the updated prompt takes much longer than incrementing the variables needed to display the prompt. Therefore, if you choose to update the prompt every 100 increments, you will notice a marked increase in speed. In the macro code, I have commented out "If" statements to update the prompt every 10, 100, or 1,000 passes.
File Info

This file is part of the MacTrove archive. See the Thank You page for the upstream mirrors we rely on. It is BinHex encoded — use The Unarchiver to decode it.

mp.ls