A graphical development environment for developing the program flow of an
application, The environment is controlled by a plurality of icons, some
of which are detailed sub-routines used to control the proper returns in
systems in which speech recognition is utilized. In one embodiment, a
loop construct is used with branches arranged by the sub-routine icons to
ensure that a proper return is achieved based upon an expected grammar
for that branch.