Tuto WEBDEV 25

Summary 13 Appendix 4. The loops Overview.............................................................................................................................................................451 The FOR statement..............................................................................................................................451 The LOOP statement............................................................................................................................451 The WHILE statement......................................................................................................................... 452 Practical example: Using loops.........................................................................................................................453 Project used........................................................................................................................................ 453 Creating the page............................................................................................................................... 453 Creating controls................................................................................................................................. 453 Page test..............................................................................................................................................457 Appendix 5. The procedures Overview.............................................................................................................................................................459 Types of procedures...........................................................................................................................................459 Creating and calling a procedure......................................................................................................................459 Global procedure................................................................................................................................ 459 Local procedure.................................................................................................................................. 459 Internal procedure.............................................................................................................................. 460 Calling a procedure............................................................................................................................. 460 Procedure parameters......................................................................................................................................460 What is a parameter?......................................................................................................................... 460 How to use the parameters?...............................................................................................................461 Mandatory or optional parameters?.................................................................................................. 462 Procedure result.................................................................................................................................................462 Practical example: Using a procedure..............................................................................................................462 Project used........................................................................................................................................ 463 Implementation.................................................................................................................................. 463 Creating and using a procedure......................................................................................................... 466 Conclusion..........................................................................................................................................................468 Appendix 6. Questions/Answers Questions/Answers........................................................................................................................................... 470 How to view the element to which the current event belongs?.........................................................470 How to print the source code?.............................................................................................................470 How to perform a "find and/or replace"?............................................................................................470 What is the meaning of "+" and "-" signs in the code editor?............................................................. 471 Is it possible to identify the person who wrote a code line?............................................................... 471 Is it possible to find out the code line number?.................................................................................. 471 Is there a method to easily display the syntax or the help about a function?...................................472 What are the useful shortcuts in the code editor? ............................................................................472 Conclusion

RkJQdWJsaXNoZXIy NDQ0OA==