Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt
Code Block
number monthNumber = month(currentDate());
string []monthName fruit = "Apple|Apricot|Avocado|Banana|Blackberry|Blueberry|Cherry|Coconut"= formatDate(currentDate(), "MMMM");

forif(stringmonthNumber f> in fruit12) {
    runnerLog(f"Example 2: Time no longer exists :(");
}
Info
Use this method when looping through arrays and you don't need to know the index position.