Introduction to Programming with raptor


Assignment Statement/Symbol



Download 398.84 Kb.
Page7/11
Date31.07.2021
Size398.84 Kb.
#57126
1   2   3   4   5   6   7   8   9   10   11
introduction to programming with raptor

Assignment Statement/Symbol

  • The assignment symbol is used to perform a computation and then store the results in a variable.

Assignment Statement/Symbol

  • An assignment statement is displayed inside its RAPTOR symbol using the syntax:

Assignment Statement/Symbol

  • One assignment statement can only change the value of a single variable.
  • If this variable did not exist prior to the statement a new variable is created.
  • If this variable did exist prior to the statement.
  • No variables on the right hand side of the arrow (i.e., the expression) are ever changed by the assignment statement.

Download 398.84 Kb.

Share with your friends:
1   2   3   4   5   6   7   8   9   10   11




The database is protected by copyright ©ininet.org 2024
send message

    Main page