ArcBasicDocs

Type

Declares a custom type.

Type Name ... Field ... End Type

Parameters

None.

Description

Defines a kind of object, with named fields that each object of the type has its own copy of. Make objects with New, reach their fields with a backslash, and go through them all with Each. Types suit anything there are many of: aliens, bullets, particles.

Example

Type.abs
Type Alien    Field x#, y#    Field livesEnd Typea.Alien = New Aliena\x = 100

See also