Functions
definition
external "CASL_SendToCalendar";
# A T T E N T I O N:
# On my installation of palm sdk it was necessary to change the file
# C:\PalmDev\sdk\include\Libraries\Pdi\PdiLib.h
# In this file there is an include statement for PdiConst.h in line 45
# #include <PdiConst.h>
# This has to change to
# #include
<C:\PalmDev\sdk\include\Libraries\Pdi\PdiConst.h>
# otherwise an error message "not found" occurs.
function IsPDILibAvailable as numeric;
# Returns true, if the PalmOS version >= 4.0
# false, if the PalmOS
version is < 4.0
# Remark: SendToCalendar function is based on the PDI library that is part
of
# PalmOS 4.1 and newer.
function SendToCalendar (string
xSummary, string xDescription,
string xStart, string
xEnd, string xAlarm,
string xTitle, numeric
xNoGoto);
# Parameters:
#
xSummary = Title of
the event
# xDescription = Note of
the event
#
Use "=0D=0A" for a new line (same as char(10) in CASL)
#
xStart =
Start date and time with format "yyyymmddThhmmss"
#
Example: "20040131T153000" = 01/31/2004, 3:30 pm
#
xEnd
= End date and time (same format as xStart)
#
Example: "20040131T163000" = 01/31/2004, 4:30 pm
#
xAlarm =
Alarm date and time (same format as xStart
#
or "NoAlarm" if no alarm is used)
#
Example: "20040131T152500" = 5 min before start of event
#
xTitle =
Text to be displayed in the send dialog
#
xNoGoto =
true: Calendar is not launched after this call,
#
the calling program is continued.
#
= false: Calendar is launched after this call,
#
the calling program is finished.
end_external;
|