age is assigned the integer 54 pi is assigned the fractional value 3.142 hi is assigned a string literal xyz is assigned a vector of 3 values coord is assigned an array of 2 values
declare an integer array of three elements assign three values change the value of the first element print all three values print the last value get the names of the all the cameras size() counts the elements of an array print a confimation of the number of cameras
get the names of the selected objects does the array of names have at least one item? if so, then output the name otherwise print a warning use gmatch() to see if the name begins with the word "nurbs" - notice the use of the wild card *
get the names of the selected objects for each element in the array of names ...output the name a more convenient way of dealing with an array is to use the "for in" variation of a for loop
make a default nurbs cone querry its radius and assign its value to $rad use the ls command to list the lights in a scene print the array of light names
make a string variable containing text for a command (the backslash enables a string to go onto two lines) make another string containing some extra info use eval to execute the combined strings print the name returned from the "curve" command