The
Event type is used to define all the advanced characteristics of an event: birthday, saint's day, ...
The characteristics of this event can be defined and changed using different WLanguage properties.
This type of variable is used by the
Contact variables.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see
Declaring a variable.
// Retrieves the birthday of a contact
sDate is string
FOR EACH evt OF MyContact.Event
IF evt.Type = evtBirthday THEN
sDate = evt.RoughDate
RETURN
END
END
Remarks
Properties specific to the description of Event variables
The following properties can be used to handle an event:
| | |
Property name | Type used | Effect |
---|
Label | Character string | Label for the custom types of events (optional). If the Type property does not correspond to the evtCustom constant, the value of this property will be ignored. |
RoughDate | Character string | Start date of the event. The character string is not formatted. |
Type | Integer constant | |
Reinitialization
You can use
VariableReset to reset the contents of a variable of type
Event.