Info-Mac Archive Downloads: dev/card/ Hypercard

Back to dev/card/ Hypercard

ArrayMaster 1.0b1 (array-master-10b1-hc.hqx)

Download array-master-10b1-hc.hqx (12,471 KB)


From: Ben Lawson, benl@resunix.ri.sickkids.on.ca
Subject: ArrayMaster 1.0b1

ArrayMaster 1.0b1 © Ben Lawson 1996. Free for personal use. This HyperCard
2.2+ stack is compressed and BinHexed with DropStuff. It can be used as a
tutorial on how to simulate arrays with HyperTalk, as a HyperTalk scripting
example, or as a tool to process up to 30 K of array data directly.
(Basically, it makes heavy use of the "itemDelimiter" property.)

Five Hypertalk functions provide this array functionality.
Get an array element's value: getArrayElement().
Change an array element's value: setArrayElement().
Insert an array element: insertArrayElement().
Delete an array element: deleteArrayElement().
Change an array's delimiters: convertArray().

Example:
put "11,12,13,14" & return & "21,22,23,24" into theArray
answer getArrayElement(theArray,2,3) -- returns "23"

This is a moderately tested beta version, please send comments or bug
reports to or