Skip to content
EntityQ3242416· pop 17· linked from 102 articles

Return statement

Sign in to save

Also known as return

programming statement that stops execution of the current subroutine, optionally passing back a return value to the code that called the subroutine

Wikidata facts

Show 2 more facts
facet of
subroutine
Sources (1)

via Wikidata · CC0

Article · Nederlands

In de computerprogrammering zorgt een return statement ervoor dat de uitvoering van de huidige subroutine wordt stopgezet en dat het programma wordt hervat op het punt in de code direct na het punt waar de subroutine werd aangeroepen, beter bekend als het returnadres. Het returnadres wordt meestal op de call stack van het proces opgeslagen, dit als onderdeel van de operatie die de subroutine aanroept. Vele programmeertalen laten het toe dat een functie een returnwaarde teruggeeft aan de broncode die deze functie heeft aangeroepen.

Abstract from DBpedia / Wikipedia · CC BY-SA

Return statement · Vinony