POSITION:028,114
COLOUR:STANDARD
TEXT:00,Earlier in the tutorial, we introduced the & operator, which allows you
TEXT:16,to join atom or sequence data objects together to create new sequences.
TEXT:16,Euphoria offers other ways of linking data objects together, the first
TEXT:16,being append():
COLOUR:EUPHORIA
TEXT:32,   = append( ,  )
COLOUR:POINTS
TEXT:00,rs          s  o
COLOUR:STANDARD
TEXT:32,append() creates a new sequence, which is stored in variable   , by
COLOUR:POINTS
TEXT:00,                                                             rs
COLOUR:STANDARD
TEXT:16,adding   to the end of   as an entire element. So how does this differ
COLOUR:POINTS
TEXT:00,       o               s
COLOUR:STANDARD
TEXT:16,from the & operator? Do we really need append() anyways?
TEXT:32,When & joins any two or more data objects, it creates a sequence that is
TEXT:16,as long as the total number of elements made up by the participating data
TEXT:16,objects. However, append() will always create a new sequence that is one
TEXT:16,element longer than the length of  . The reason for this is because
COLOUR:POINTS
TEXT:00,                                  s
COLOUR:STANDARD
TEXT:16,append() will make   the new last element of  .
COLOUR:POINTS
TEXT:00,                   o                         s

