@Syntax wrote:
But what "makes" this into a SUM statement? Does SAS "typically" summarize expressions after a semicolon (that would be weird) or is there any kind of further restrictions (i.e it's only a SUM statement when somehing is set to zero and the succeeding expressions are not assigned (lacks an equal sign)).
The type of statement is determined by the syntax you use. A DATA statement starts with the keyword DATA. An assignment statement is of the form:
var = expression ;
A sum statement is of the form:
var + expression ;
... View more