Extended Counting Wp
Extended Counting Wp
Text Processing · info-mac
| Filename | extended-counting-wp.hqx |
|---|---|
| Size | 4.7 KB (4853 bytes) |
| Downloads | 1 |
Download extended-counting-wp.hqx
Up to 5 concurrent downloads per IP. No speed limit.
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.
Notes
This file was archived from info-mac / funet and is provided for historical preservation. Most files are in BinHex (.hqx) or StuffIt (.sit/.sea/.cpt) format; you will need The Unarchiver or a classic Mac emulator to open them.