If you are reading my response at
http://appinventor.mit.edu/explore/forums/ and the images are not displaying, look for a box at the top of the message that says "Images are not displayed". Below this title, there should be an option "Display Images in this Post" that you can click on. Alternatively, clicking on the blank space may show the image.
I am also attaching the two images from my previous response to this response in case you can't access them another way.
Finally, in AI2 it is possible to do everything that you can do in AI Classic, but the way you do it is often different. There are no Built-In>Definitions or My Blocks>My Definitions sections in AI2 because you accomplish the goals of these sections in a different way in AI2:
- Defining a global variable: In AI Classic, you use a "def" block from Built-In>Definitions, but in AI2, you use an "initialize global" block from the Variables drawer.
- Getting/setting a global variable: In AI Classic, you use a "global" or "set global" block from My Blocks>My Definitions, but in AI2, you use a "get" or "set" block from the Variables drawer. Alternatively, if you hover over the variable name in the "initialize global" block, you will get a flyout of the "get" and "set" blocks for the global variable.
- Defining a procedure: In AI Classic, procedure definition blocks are in Built-In>Definitions, but in AI2, they are in the Procedures drawer.
- Calling a procedure: In AI Classic, procedure caller blocks are in My Blocks>My Definitions, but in AI2, they are in the Procedures drawer.
- Declaring a procedure parameter: In AI Classic, you use a "name" block from Built-In>Definitions, but in AI2, you use a mutator on the procedure definition block to add the parameter (click on the blue gear icon in the upper left corner of the procedure).
- Getting the value of a procedure parameter: In AI Classic, you use a "value" block from My Blocks>My Definitions, but in AI2, you use a "get" block from the Variables drawer. Alternatively, if you hover over the variable name in the procedure block, you will get a flyout that includes the "get" block for the parameter.
- lyn -