Alphanumerics
Posted: 2025-08-17 19:38:55
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?
Cheers,
Adrian
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"))
Adrian