BookmarkSubscribeRSS Feed
Vishal789
Calcite | Level 5

how to use do loop to count from 10 to 1 ?

1 REPLY 1
Tom
Super User Tom
Super User

By using -1 as the STEP value.

do i=10 to 1 by -1;
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 638 views
  • 0 likes
  • 2 in conversation