2017년 7월 13일 목요일

Where procedure


I just began to use MIT 2 App yesterday. Just for lerarning, I'm using this tutorial: Map It: Displaying Locations on a Google Map

This tutorial uses WHERE/DO procedure/control but I can't find it in the blocks list. Where can I find it? Sorry, it's really a basic question, once I am an beginner. 

--
what procedure are you talking about?
any screenshot?
probably you are talking about a custom procedure, you have to create yourself?
see also AI2 Procedures

--
Dear Taifun, the WHERE control used in the attached figure is not included in my the block list.

I just need to build this WHERE rule (as shown in the figure), but I don't know how and I didn't find this information in the help.




-- 


Does this graphic help Julio?   That block is part of the Screen controls

-- 
are you talking about the Screen.Initialize event?
you find it in the Screen drawer


you probably might want to start first with the beginner tutorials...

-- 
Ok, Steve. This Screen control was not collapsed. That's shameful! 
Thanks a lot.

-- 


you need to 'create' this block.  Go to the Procedures, then find the block circled in read and type over the word procedure  with initData.  After you do that the call initData block is created.

This free book in AI2 programming explains all kinds of interesting and non-intuitive programming tricks similar to this one for procedures.   http://www.appinventor.org/book2      Read the chapters under   Inventor's Manual.

-- 
Thanks Steve and Taifun, I'll take a look in this AI2 book. At any way, I got to run the example in the tutorial.

-- 


댓글 없음:

댓글 쓰기