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 and then the program stops.
You get an error message.
3. Why might you use require instead of include?
For program flow.
If, on error, you want the program to stop.
There's no reason to choose, they're exactly the same.
Back to the top
© 2017 GoSkills Ltd.
Skills for career advancement