What are variables for?
Storing information, holds one value at a time.
define a Boolean
Boolean values are a type of information, so they can also be evaluated in a Boolean expression using logical operators
What is a function?
a named group of programming instructions also referred to as a procedure.
What is a string have around it that differentiates it from a number.
"_____"
what does this mean &&
AND
what is a function call?
a command that executes the code within the function
How do you create a global variable?
create the variable outside the on events
what does this mean ||
OR
can you call a function inside an onevent?
yes
what is a local variable?
when a variable is created inside an onevent or function
what does this mean !
NOT
What color is a function button
green
var cat;
onEvent("secretscreen", "click", function( ) {
cat = blue;
});
if the selectscreen isnt clicked will the cat still be blue?
A boolean value is either
TRUE or FALSE
how do you get a function to run?
using the call function block