island17
11-23-2004, 09:46 AM
Hello all
Groups may be misleading since I didn't know what else to call it. What I would like to do is define a type, or variable, and add members to it.
Example
I need to change en-dashes to em-dashes only if they are not of one of the headline sytles. I know in other languages I can do something like.
Dem Xstyles as styles
Xstyles = ("head1", "head2","head3)
if style <> Xstyles then
do this
endif
I hope I conveyed my idea clearly. I have looked for an answer in my nO'Reilly book, but can't find one. I know how to handle this by checking each paragraph, but thought this would be cooler if it could be done.
Thanks in advance
Groups may be misleading since I didn't know what else to call it. What I would like to do is define a type, or variable, and add members to it.
Example
I need to change en-dashes to em-dashes only if they are not of one of the headline sytles. I know in other languages I can do something like.
Dem Xstyles as styles
Xstyles = ("head1", "head2","head3)
if style <> Xstyles then
do this
endif
I hope I conveyed my idea clearly. I have looked for an answer in my nO'Reilly book, but can't find one. I know how to handle this by checking each paragraph, but thought this would be cooler if it could be done.
Thanks in advance