View Main Course Content

14. Functions

DEFINE_FUNCTIONS Section

 1.25 minutes

Before we dive into what functions are, and how they are used, we'll first take a look at the define functions section of the Nettling standard template. Learn where in the code these functions will reside and how to find them.

Watch video

Functions Overview

 5.25 minutes

Learn all about functions. This lesson will teach you how functions are similar to macros or subroutines. Instead of writing out the same block of code dozens of times, a function can be used instead.

Watch video

Functions Implementation

 7.75 minutes

Write the code necessary to build two different functions. The first function you will build will shut down the system. The second function will teach you how to pass in parameters to control a switcher.

Watch video

Functions Exercise

 1 minutes

This exercise focuses on functions. You are given a set of instructions and you're challenged to work on your own in order to complete this exercise.

Watch video

Functions Exercise Solution

 4.25 minutes

This video has the instructor review the previous exercise in great detail.

Watch video