错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Conditional Statements & Event Handling: How Do I Control the Program Flow and Make the Program React to User Actions and Other Events?

  • Joachim L. Zuckarelli

摘要

In the last chapters you have already seen that there are two ways of branching in the program flow: linear with If-Else constructs and event-driven with event handlers. In this chapter we will take a closer look at these important concepts that allow different parts of the program code to be executed depending on the situation.