Team LiB   Previous Section   Next Section
beginning

Syntax

set list1 to {1,2,3,4,5}

set the beginning of list1 to 10 -- list1 is now {10,1,2,3,4,5}

Synonyms

front

Description

beginning and front are reserved words that specify an insertion location in the beginning of a text file, for instance. Like back and end, beginning and front are Relative reference forms; however, they point to the first insertion point rather than the last insertion point of a container. You can also use beginning and end with lists, in the manner of the Syntax example.

    Team LiB   Previous Section   Next Section