![]() ![]() Unlike in some programming languages, in Pascal a loop itself is a statement it does not yield a value.Īlso, a loop body does not create a new scope. Likewise, conditional loops are interchangeable, too, but in any given situation either one is more suitable. If the loop body has a predictable number of iterations, the loop can be written with any loop type, but a counting loop is usually the most reasonable choice. ![]() ![]() The FPC also supports for … in … do loops, which are similar to counting loops.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |