structures
Dar Scott
dsc at swcp.com
Mon Mar 8 13:41:03 EST 2004
On Monday, March 8, 2004, at 10:29 AM, Marty Billingsley wrote:
> Is there a way to create structures in Transcript?
1.
You can exploit chunks like this:
constant xV = 1
constant yV = 2
constant inUse = 3
...
if item xV of bullets[i] > maxV then explodeBullet i
...
With lines, items and words you might get some structure.
2.
You can make virtual dimensions:
...
if bullets[i,"xV"] > maxV then explodeBullet i
...
3.
As you mentioned, you can use three arrays:
...
if xVbullets[i] > maxV then explodeBullet i
...
Future: Nested arrays are on the feature request list in bugzilla.
Dar Scott
More information about the use-livecode
mailing list