home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 3
/
PDCD_3.iso
/
pocketbk
/
utilsm
/
notepad
/
npdrv
/
NPDRIVER.DOC
next >
Wrap
Text File
|
1992-12-10
|
2KB
|
46 lines
(c)1992 Pelican Software Inc.
P.O. Box 741072
Houston Tx. 77274-1072
Np Driver Documentation
Npdrv.zip file contains files needed to access the Notepad
Alarm Server. These files are provided to all Series 3 users
to use freely in non commercial products. If anyone wants to
use the Alarm Server itself/and or drivers in an application,
contact Pelican Software Inc. for liscensing information.
Npdriver.opo
This is the actual driver that gives you access to the Alarm
Server. Included in the zip file is an example of how to use
the driver. The file is called Nptest.opl/opo. Take a look at
this file to see how to access the Alarm Server.
Parameters to pass:
To use the Npdriver.opo Alarm Server driver, you need to pass
certain information when calling the program.
Npdriver.opo requires just three parameters. The first is a long
integer, the date that the alarm will ring, in the common opl
format days(day,month,year) Note that the long integer that is
passed(like date&) should not be converted to system time format.
(seconds). d&=(d&-25567)*86400 (don't do this!)
It should be the pure days(d,m,y) format.
The second parameter is the time in seconds, also a long integer.
Example: time&=datetosecs(1970,1,1,hour,minute,0) would be now.
The third is the text message you want to be displayed when the
alarm rings. ( like mess$) The mess$ is limited to 64 characters.
They should be called like this: Npdriver:(date&,time&,mess$)
Of course the Npdriver.opo file should be loaded using loadm first.
Loadm "M:\opo\Npdriver.opo"