variable increment in SAS

helloyuen / 2023-09-02 / 原文

In Python, a variable can perform increments in the form of i=i+1 (i+=1) or i=i+j (i+=j).
In SAS, the same operation can be done in the form of i+1 or i+j.
i is a variable to be added to and 1 or j is a variable that plays as increments.