POPUPDATE(DateVal as Date, title as String)

Description
Shows the user a date and let the user change the date using the Palm OS device's standard popup for date input. A valid value for DateVal must be supplied when calling. If the user changes the date then the new date value will be placed in DateVal and the function will return a value of 1. If the user does not modify the date, the DateVal will not change and the function will return a value of 0. The title is displayed in the date input popup and can be used to prompt the user for the type of date desired. This function requires Palm OS 3.3 or later. On some devices, calling this function will cause the After Script to be run on return.
Example
Dim theDate as date
Dim Res as integer
TheDate=today()
Res=PopupDate(theDate, "Enter anniversary date")