Understanding the Interactive Matrix Language |
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'};Here is the resulting matrix:
ANSWER Yes Yes No No
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.