Programmingbeginner1 min read

Function

རྟེན་འབྱུང་གྲངས།

函数

Function · རྟེན་འབྱུང་གྲངས། · 函数 · FUNK-shun · method · procedure · subroutine · Programming · code · reuse · basicsProgrammingmethod procedure subroutine

/FUNK-shun/

Also known as: method, procedure, subroutine

Last updated August 7, 2026

Definition

A function is a reusable block of code that performs a specific task, optionally taking inputs (parameters) and returning an output.

Real-World Example

A sendEmail(to, subject, body) function packages the steps for sending mail so other parts of an app can call it without rewriting the logic.

References

discuss://translation · public

Translation discussion

Anyone can read and write here. Pick a display name — no email or account. Please keep the thread constructive. Thumb up a rendering you agree with — that helps the editor see consensus; it does not publish the term by itself. You can edit or delete your own comments from this browser; another device or cleared site data cannot.

Community lists who wrote, on which term, and when.

Loading discussion…