2017년 7월 17일 월요일

Problems How i can make a list with words that includes values?


Can someone help me with these to problems:
1) How can I make a list with words that includes values? For example when I choose "A" from the list it has value of 1 in a calculation and when I choose "B" it has value of 2 etc.
2) How can I copy calculation result from one screen to another?

--
1) Two lists:

A,B,C,D,E
1.2.3.4.5

Get index selected from first list, then get corresponding index from the second list to use in calcualtion

2) Use a tinydb to save data that is accessible across screens, or make the calculation result the "start value" for the next screen.

-- 
Can you give step by step instruction with problem no 1?

--
that was the step by step instruction... ;-)

it seems to be, you are not very familiar with the basics?
see here

A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook   http://www.appinventor.org/book2 ... the links are at the bottom of the Web page.  The book 'teaches' users how to program with AI2 blocks.
There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro  and the aia files for the projects in the book are here:  http://www.appinventor.org/bookFiles  
How to do a lot of basic things with App Inventor are described here:  http://www.appinventor.org/content/howDoYou/eventHandling  .

Also do the tutorials http://appinventor.mit.edu/explore/ai2/tutorials.html to learn the basics of App Inventor, then try something and follow the
 Top 5 Tips: How to learn App Inventor

You will not find a tutorial, which does exactly what you are looking for. But doing the tutorials (not only reading a little bit) help you to understand, how things are working. This is important and this is the first step to do.

--
Here is a quick howto with aia attached  ;) (@ Taifun, I must be getting soft in my old age :) )



-- 

댓글 없음:

댓글 쓰기