form_beside()

Purpose

Places a new form alongside an existing one

Syntax

int form_beside(left_map, right_map)

Parameters

int left_map

Number of map to be placed on the left

 

int right_map

Number of map to be placed on the right

Description

The function form_beside() places a map alongside an existing map in the printer stream. The top left-hand corner of the right map is placed at the top right-hand corner of the left map.

All subsequent forms until the next print are positioned under the right map.

The global variable pr_line is set to the next line under the right map.

The program terminates if the left map is not in the printer stream.

Return values

Returns the value of the global variable pr_line

See also

form(), form_over()