Understanding the SAS/IML Language


Repetition Factors

A repetition factor can be placed in brackets before a literal element to have the element repeated. For example, the following two statements are equivalent:

answer = {[2]  'Yes', [2]  'No'};
answer = {'Yes' 'Yes', 'No' 'No'};