' The End statement terminates execution of the script
' that is running when the function is called.
Function Func1 ()
Print 1
End ' Terminates program execution
Print 2 ' Never executed
End Function ' Ends the function definition
Func1
' Output:
' 1