"setDayText"

Sets the text of a day for the scheduler ewo.

Synopsis

shape.setDayText(int idx, string text);

Parameters

Parameter Description
idx The index of the day. Monday = 1.
text The text to be set.

Description

Sets the text of a day for the scheduler ewo.

Example

Sets the texts of all days in English (Monday, Tuesday, ...).

main()
{
  this.setDayText(1,"Monday");
  this.setDayText(2,"Tuesday");
  this.setDayText(3,"Wednesday");
  this.setDayText(4,"Thursday");
  this.setDayText(5,"Friday");
  this.setDayText(6,"Saturday");
  this.setDayText(7,"Sunday");
}
Figure 1. Scheduler.ewo and the texts of the days in English

Assignment

Scheduler ewo