3. Programming Frames : How You Can Invoke Frames : How You Can Transfer Control Between Frames
 
Share this page                  
How You Can Transfer Control Between Frames
The three OpenROAD statements that create a new FrameExec object by invoking a child frame differ greatly in how control is passed to the child frame. However, all three use similar syntax to run a second frame. A simplified syntax for all three statements is:
openframe | callframe | gotoframe framename [(parameterlist)]
You can enter the framename directly or you can use a variable to specify the frame name dynamically. Using a variable lets you specify the frame name at runtime. For an example of specifying a frame name dynamically, see How You Can Transfer Control to a New Frame: Callframe Statement (see How You Can Transfer Control to a New Frame: Callframe Statement).