"singleLine"

Shows date and time side by side.

Synopsis

setValue(string shape, "singleLine", bool mode);

getValue(string shape, "singleLine", bool &mode);

shape.singleLine(bool mode);

Parameters

Parameter Description
shape Name of the object
mode

Shows the date and time:

TRUE = Next to each other

FALSE = One below the other

Description

Shows date and time side by side.

Example

The following examples show the date and the time first side by side and then one below the other.

main()
{
  CLOCK1.singleLine(TRUE);
}
Figure 1. The Time and The Date are shown Side by side
main()
{
  CLOCK1.singleLine(FALSE);
}
Figure 2. The Time and Date are shown one below the other

Assignment

Clock