next up previous contents
Next: physical_x_position Up: assign_position.pl Previous: logical_x_position

y_position

# Arguments:     $current_y$ : the y value for the next directive
#                $current_lx$: the logical x value for this recursion step
#                $data_size$ : the number of items in a stack element
#                @stack     : the stack starting with the next element to be 
#                             looked at 
#
# Return Values: $max_y$     : the highest y value seen on this recursion step
#                $i$         : index into @stack of the next element to look at
#                @stack     : the stack with y values assigned for all elements
#                             in the current block
# Description: Look at each element in the stack at the current logical level.
#              If it is not an endif, recurse on elements of stack within 
#              branch. Set the y value for each element and return if you 
#              reach the end of the stack or an element at a lower logical 
#              level.