next up previous contents
Next: y_position Up: assign_position.pl Previous: assign_position

logical_x_position

# Arguments:     $current_x$ : the current logical x
#                $data_size$ : # of items in a stack element
#                @stack     : the stack of directives
#
# Return Values: $max_x$     : the maximum logical x value found
#                @stack     : the stack with logical x values assigned
# Description: Look at each element in the stack. Logical x becomes greater 
#              each time an if is encountered and smaller at each endif.
#              Each element is assigned a logical x value and the stack is
#              returned.