User Guide
map() 389
makeSubList()
Usage
XMLnode.makeSubList()
Description
Function; returns a property list from a child node the same way that makeList() returns the
root of an XML document in list format.
Parameters
None.
Example
Beginning with the following XML:
<?xml version="1.0"?>
<e1>
<tagName attr1="val1" attr2="val2"/>
<e2>element 2</e2>
<e3>element 3</e3>
</e1>
This statement returns a property list made from the contents of the first child of the tag <e1>:
put gparser.child[ 1 ].child[ 1 ].makeSubList()
-- ["tagName": ["!ATTRIBUTES": ["attr1": "val1", "attr2": "val2"]]]
See also
makeList()
map()
Usage
map(targetRect, sourceRect, destinationRect)
map(targetPoint, sourceRect, destinationRect)
Description
Function; positions and sizes a rectangle or point based on the relationship of a source rectangle
to a target rectangle.
The relationship of the
targetRect to the sourceRect governs the relationship of the result of
the function to the
destinationRect.
Parameters
targetRect Required. The target rectangle in the relationship.
targetPoint Required. The target point in the relationship.
sourceRect Required. The source rectangle in the relationship.
destinationRect Required. The destination rectangle.