The line c is a plus b is actually it's own command, as opposed to just being A is X where X is substituted for an expression this command will compute the sum of the values of a and b and store it in the variable c. In this code, 2 and 3 are assigned to the variables a and b respectively. A constant also consists of alphanumeric characters, but may sometimes consist of a sequence of characters enclosed by quotation marks.Ī is X is a command that assigns the constant X to the variable A. A variable name consists of alphanumeric characters. When describing commands on this page, A B C will refer to arguments that represent variable names, while X will refer to arguments representing constants. An argument is frequently a variable name, but might also be a constant in some commands. Each command follows a specific structure, which arguments may be substituted into (eg. A program consists of a sequence of commands separated by newlines.
0 Comments
Leave a Reply. |