Parameter

  • Published May 31, 2017
  • By Dave Catlin

You will find the terms parameter, argument and variable often used in computing, mathematics and science.  Their exact meaning depends on the context.  Computer scientists use “parameter” to mean something you can add or alter within a command.

http://using.roamer-educational-robot.com/files/2017/02/FD.png Number [1  to 100] We call Number [1 to 100] a parameter.
http://using.roamer-educational-robot.com/files/2017/02/FD.png 6 We call the 6 an argument.

We use the word variable as a general term.  The Roamer Music command has two variables: the duration of the note and the pitch.  Number to 8 is the duration parameter and Number 1 to 14 is the pitch parameter.  In Music 4 11: 4 and 11 are arguments.

Comments are closed.