Functions with Parameters Lesson 14.14 Tutorial Code.org CS Discoveries Physical Computing Unit 6

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Hey Mr. Kaiser, I got a question. Is it possible to have an updateScreen function that with will grab lists in a variable. Say I have a variable that stored list of nicknames and another variable that stored a list of years. If I wanted to make an updateScreen function that set texts in two different boxes (one being nicknameTxtbox and other year txt box)so that that after user presses enter the screen updates and changes the texts in both text boxes to another text in the lists mentioned, would it be possible and if so how? Would it need a parameter?

andrewsn