swirl
Guide to OmniMark 7   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
   #implied
 
Related Concepts
   Finite state machines
   Groups
 
 

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

OmniMark 7.1.2 Documentation Generated: June 28, 2005 at 5:45:34 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © Stilo Corporation, 1988-2005.