||THE HYPERCARD CENTER
Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.
Value returned: a character chunk expression that indicates the range of characters currently highlighted
If nothing is highlighted,
the selectedChunk returns
empty. The chunk expression returned has the following form:
posInteger to posInteger ¬ of container
select text of field "Title"
answer "The selectedChunk is:" & return & the selectedChunk
An expression that evaluates to a positive integer.
67 mod 13
the number of bg fields
the number of backgrounds
the number of cards div 2
background, bkgnd, button, card, chunk,
HyperTalk DefinitionA place where you can store and retrieve a value.
There are six types of containers in HyperCard: a variable, a button, a field, the selection, the Message box, and menus.
Additionally, you can refer to a button or field by its part number:
the Message box
bg btn "Names"
card field 1
bkgnd field "Total"
card part 1
last background part
AppleScript DefinitionAn object that contains one or more other objects, known as elements of the container. In a reference, the container specifies where to find an object. You specify containers with the reserved words
You can also use the possesive form (
's) to specify containers. For example, in
the container is
first window's name
first window. The object it contains is a name property.
« selectedButton | HyperTalk Reference
| selectedField »