Alphanumerics

Get help using and writing Nisus Writer Pro macros.
Post Reply
adryan
Posts: 618
Joined: 2014-02-08 12:57:03
Location: Australia

Alphanumerics

Post by adryan »

G'day, all

Great to see more postings in the NWP Macros Forum. Here's another!

First, how can a Macro determine whether a response to a Prompt Input command is an integer or a letter of the alphabet?

Next, how does one increment a letter of the alphabet (eg, get a variable to step through a set of consecutive letters, beginning with a specified letter)?

Finally, what is the correct syntax for the following sample while expression, where x, y are previously declared variables?

Code: Select all

while ((x is not equal to 3) and (y is not equal to "z"))
Cheers,
Adrian
MacBook Pro (M1 Pro, 2021)
macOS Ventura
Nisus Writer user since 1996
Post Reply