int
float
string
vector
array
matrix
Like any other programming language maya provides the user with the ability to temporarily store
information through variables. An easy way to look at variables is to see them as a box that we dump and pull
information into and from.
int $myInt = 1;Notice that after every variable I put a semicolon. It is important to remember to place a semicolon after every command. This is how maya knows when one command starts and another begins.string $myString = "Hello Jello";
If you are unsure what a variable type is use the whatIs command to find out.
int $myInt = 1;
whatIs "$myInt";
// Result: int variable //