docServerUserLandCom picture
Contents
Frontier Site

rectangle.get

Syntax rectangle.get (rectangle, addr1, addr2, addr3, addr4)

Params rectangle is a Macintosh rectangle datatype.

addr1 through addr4 all contain the addresses where the top, left, bottom and right coordinates of rectangle will be stored.

Action Copies the four coordinate values of rectangle into the four addresses supplied as the remaining arguments.

Returns True

Examples scratchpad.rect = rectangle.set (15, 100, 185, 300);
rectangle.get (scratchpad.rect, @t, @l @b, @r);
msg ("Corners are: " + t +"," + l + " and " + b + "," + r)
ª true

Main Window displays "Corners are: 15,100 and 185,300".

Notes This verb is useful for extracting information from rectangle values that might be sent into Frontier by an IAC-aware application.

See Also rectangle.set


© Copyright 1992-2026 UserLand Software. Email: webmaster@userland.com.