swirl
Guide to OmniMark 9   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
  Related Syntax   Related Concepts  
action  

next group is

 
 

Syntax

next group is group-name (& group-name)*


Purpose

An action that changes the currently active set of groups to the ones specified. next group is deactivates the currently active set of groups, and activates the specified ones. The #implied group is always active, and cannot be deactivated using next group is.

If the only group named in the next group is action is #implied, then all other groups are deactivated. The #implied group cannot be combined with other groups in next group is actions; to do so would have no effect.

You should always use using group in preference to next group is wherever your program logic will permit it. This makes the order and scope of group changes much more explicit.

Do not use next group is in a function that is called from within a rule header. Besides leading to unreadable code, the behavior of this construction is not guaranteed consistent from one version of OmniMark to the next.

The list of group names may be placed in parentheses to improve readability.

    Related Syntax
 
Related Concepts
 
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 9.1.0 Documentation Generated: September 2, 2010 at 1:51:21 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2010.