Concept Flow - Local functions
Start main function
Execute main code
Call local function
Run local function code
Return result to main
Continue main or end
End
The main function runs its code, calls a local function defined inside it, which executes and returns a result back to the main function.