Atmospheric Effects

version 6/080508 by Mikael Segercrantz

  • Home page
  • Beginning
  • Previous
  • Next

  • Part 3 - Decisions and counting

    Chapter 3(a) - Counting

    Section 3(a)1 - Number of used rows

    To decide what number is the number of used rows in (tbl - a table-name):
        let count be 0;
        repeat through tbl:
            if there is a used entry:
                if the used entry is greater than 0, increase the count by 1;
        decide on count.