Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt
Code Block
for(intnumber xmonthNumber = 1; x <= 10; x+=1month(currentDate());
string monthName = formatDate(currentDate(), "MMMM");

if(monthNumber > 0) {
    runnerLog(x"Example 1: It is the month of " + monthName + "!");
}
Info
Use this method when you are not looping through an array of values but some finite number.