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

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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