BookmarkSubscribeRSS Feed
2 REPLIES 2
SimonDawson
SAS Employee

Within the SAS language and documentation the words statement and function do conform to the definitions I've found on Wikipedia that describe the terms broadly as they apply to computing and programming in general.

https://en.wikipedia.org/wiki/Statement_(computer_science)

https://en.wikipedia.org/wiki/Subroutine  a.k.a. function

 

 myvariable = ranuni(0);
              ^^^^^^^^^    <= function (call)
 ^^^^^^^^^^^^^^^^^^^^^^^   <= statement
  

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 2 replies
  • 3533 views
  • 2 likes
  • 3 in conversation