Added some documentation to some ./examples/*.fun scripts.
This commit is contained in:
parent
aaa2094b47
commit
84ef262588
16 changed files with 151 additions and 13 deletions
|
|
@ -8,7 +8,17 @@
|
|||
* Licensed under the terms of the ISC license.
|
||||
* https://opensource.org/license/isc-license-txt
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
* Loop Control Flow Examples
|
||||
*
|
||||
* Focuses on:
|
||||
* - Using break to exit loops prematurely
|
||||
* - Implementing continue for skipping iterations
|
||||
* - Creating complex loop control patterns
|
||||
* - Handling infinite loops and their termination conditions
|
||||
*/
|
||||
|
||||
// break and continue examples
|
||||
|
||||
// 1) while loop: print odd numbers, stop after printing 7
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue