Tuto WINDEV Mobile 25

Summary 5 P art 4 - P rogramming concepts Lesson 4.1. Concepts and terminology Overview............................................................................................................................................................... 78 Main concepts...................................................................................................................................................... 78 Terminology............................................................................................................................................79 Lesson 4.2. The WLanguage basics The variables........................................................................................................................................................ 81 What is a variable..................................................................................................................................81 Declaring and assigning a variable.......................................................................................................81 The types of variables............................................................................................................................82 The scope of variables...........................................................................................................................83 Simple operations on the variables......................................................................................................84 Tips ................................................................................................................................................85 The conditional IF and SWITCH statements...................................................................................................... 86 The IF statement....................................................................................................................................86 The SWITCH statement..........................................................................................................................87 The loops............................................................................................................................................................... 88 The FOR statement................................................................................................................................88 The LOOP statement..............................................................................................................................88 The WHILE statement............................................................................................................................89 The procedures..................................................................................................................................................... 90 Types of procedures...............................................................................................................................90 Creating and calling a procedure..........................................................................................................90 Procedure parameters..........................................................................................................................91 Procedure result....................................................................................................................................93 P art 5 - A ndroid and i OS: D eveloping an application Lesson 5.1. Overview Overview............................................................................................................................................................... 98 The sample project used..................................................................................................................................... 99 Opening project....................................................................................................................................101 Choosing the platform.........................................................................................................................101 Enabling the iOS platform.................................................................................................................................101 Lesson 5.2. Developing the application Project analysis..................................................................................................................................................105 Displaying the list of products...........................................................................................................................105 Creating the window............................................................................................................................106 Creating the form window.................................................................................................................................110 Creating the window............................................................................................................................110 Creating controls..................................................................................................................................111 Displaying the form from the list of products.....................................................................................113

RkJQdWJsaXNoZXIy NDQ0OA==