Please enable JavaScript.
Coggle requires JavaScript to display documents.
computing :computer: (procedures (functions (random: generates a random…
computing :computer:
procedures
-
-
they are activated from a call from the main program. When a procedure is called it produces an effect
variables
local
A local variable exists within one subroutine, function, or procedure.
Local variables are created when the subroutine is called and are then destroyed when the subroutine terminates.
-
global
A global variable can be accessed and altered from any part of the program, even from another script/event so long as it is declared at the very start.
their values may accidentally change if the programmer forgets that they have already used them in another subroutine.
-
parameters
formal
A formal parameter is used as a placeholder within a subprogram for the values received or sent to the main program’s actual parameters.
-
-