Excellent!
Both single hyphen notation and double hyphen notation are helpful.
You probably know this now, but:
Single hyphen works with variables that have a number at the end. Var1, Var2, Var3, ... Var99. can be referred to as Var1 - Var99.
Double hyphen works with variables that are contiguous in the Program Data Vector. If you run a Proc Contents and use the VARNUM option, the list will be in variable order (not alphabetical order). If you want a section (or all) of the variables, you can list the first and the last with a -- in between, and SAS will process all variables in between the first specified and the last. The variables must be contiguous in order for this to work.
Jim
... View more