Example: barber
Using Arrays in SAS Programming

Using Arrays in SAS Programming

Back to document page

do i=1 to 12; net_inc[i]=revenue[i]-exp[i]; end; The purpose of the DO group is to access each of the 12 elements in the arrays. In this DO group, the iteration value 1 is the START argument, whereas 12 is the STOP argument. With this method, you must change the STOP argument in your DO group whenever the number of elements in the array changes.

  Array, Programming, Using, Your, Using arrays in sas programming, Do your

Download Using Arrays in SAS Programming


Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Related search queries