Next Previous Up Top Contents Index

2 GP Reference Entries

unless-empty-rect-bind

Macro

Summary

Binds the elements of a rectangle to four variables, and if the rectangle has a non-zero area, executes a body of code.
Signature

unless-empty-rect-bind ((x y width height) rectangle) 
                       &body body => result

Arguments

x

A variable

y

A variable

width

A variable

height

A variable

rectangle

A rectangle

body

A body of Lisp code

Values

result

The return value of the last form executed in body

Description

Theunless-empty-rect-bind macro binds x, y, width, and height to the appropriate values from rectangle and if the width and height are both positive, executes the body forms.

LispWorks CAPI Reference Manual - 17 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker