endfunction
nounUK /ˌendˈfʌŋkʃən/
US /ˌendˈfʌŋkʃən/
A word used in computer code to show where a function stops.
The programmer typed endfunction to close the block of code.
RELATED WORDS
OTHER MEANINGS
2. A command that marks the finish of a defined routine in scripting languages.
In that language, every subroutine must finish with endfunction.
3. A signal in a program that tells the computer a task is complete.
When the loop hit endfunction, the program moved to the next line.
4. The final line of a reusable set of instructions in software.
She checked the last line and saw endfunction written there.