Back to lesson
1. What's the general format of a Require function?
2. What happens if there's an error with your require function?
You get an error message.
You get an error message and then the program stops.
3. Why might you use require instead of include?
If, on error, you want the program to stop.
For program flow.
There's no reason to choose, they're exactly the same.
Back to the top
© 2017 GoSkills Ltd.
Skills for career advancement