Programmer Guide > Working with Text > Example String Array
  

Example String Array
In some of the examples in this chapter, it is assumed that a string array named TREES exists. TREES contains the names of seven trees, one name per element, and is created using the statement:
TREES = ['Beech', 'Birch', 'Mahogany', 'Maple', 'Oak', $ 
'Pine', 'Walnut']
Executing:
PRINT, '>' + TREES + '<'
results in the output:
>Beech< >Birch< >Mahogany< >Maple< >Oak< >Pine< >Walnut<

Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.