updateScreen hasn't been declared yet

updateScreen is a built in pattern… I have two students receiving this error:

Help!

@pjohnson The triangle is giving your students a warning that they are calling the updateScreen function and it has not been created. The program will still run but will not function properly without the updateScreen function. Once the function has been created (declared) the warning triangles will go away.

updateScreen isn’t a built in pattern. You still have to write the code.

1 Like

updateScreen() is one of the course “patterns” in that we encourage students to get in to the pattern of recognizing what they want to happen when the screen is updated, however it is not a built-in “pattern”. When the curriculum uses the word pattern, it is asking the students to look at the pattern of how this function is used in programs and then add it to their own.

1 Like