Records

LARD's second structured data type is the record. LARD's records are like records in Pascal and structs in C - they are hetrogenous collections of named components. Here is a simple example of how to declare and use a record:
	use(io).

	bounding_box:type=record(left::int,
	                         top::int,
	                         right::int,
	                         bottom::int).
	
	coordinate:type=record(x::int,y::int).
	
	within(c:val(coordinate),bb:val(bounding_box)):expr(bool)=(
	  c->x >= bb->left && c->x < bb->right
	  && c->y >= bb->bottom && c->y < bb->top
	).
	
	print(within(cast(coordinate,{10,15}),
        	     cast(bounding_box,{5,20,20,0})));
	print('\n')