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
  

 

Catch up on SAS Innovate 2026

Dive into keynotes, announcements and breakthroughs on demand.

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