home *** CD-ROM | disk | FTP | other *** search
- NAME
- CallingFlows.AVf
-
-
- DESCRIPTION
-
- CallingFlows.AVf shows an example of how AmigaVision can chain to
- other .AVf files using the Call Mode. It also demonstrates how these
- called flows use the QUIT Icon to return back to the calling flow.
-
- Use the Expression Editor field of a QUIT Icon when you want to exit
- a specific module of your flow, or when you want to exit from a
- called flow and return to the calling flow.
-
- If there is an expression in the Expression Editor field of a QUIT
- Icon, AmigaVision Professional will search for a parent icon whose
- name equals the string resulting from the expression. If there is a
- match, that parent icon is exited and its next sibling is executed.
-
- The QUIT Icon labeled "Exit this flow only." in Flow1.AVf has a
- variable (ModuleName) in its Expression Editor field. ModuleName was
- defined to equal the name of the MODULE Icon at the beginning of the
- flow. When the module you want to quit is the first MODULE Icon in a
- called flow, the flow quits and control returns to the calling .AVf
- file (in this case, CallingFlows.AVf). Any sibling of the MODULE Icon
- is not executed.
-
- When you call Flow2.AVf, control returns to the main calling flow,
- CallingFlows.AVf, in the same way.
-
-
-