It sounds like you defined BCENT to be a funtion that returns a value. The RUN and CALL statements are only for modules that do not return values. Call it as
It sounds like you defined BCENT to be a funtion that returns a value. The RUN and CALL statements are only for modules that do not return values. Call it as
x = bcent(m,1,0);
The 2025 SAS Hackathon Kicks Off on June 11!
Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.