home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / pocketbk / utilsm / notepad / npdrv / NPDRIVER.DOC next >
Text File  |  1992-12-10  |  2KB  |  46 lines

  1.  
  2.  
  3.                 (c)1992 Pelican Software Inc.
  4.                         P.O. Box 741072
  5.                     Houston Tx. 77274-1072
  6.  
  7.  
  8. Np Driver Documentation
  9.  
  10. Npdrv.zip file contains files needed to access the Notepad
  11. Alarm Server. These files are provided to all Series 3 users
  12. to use freely in non commercial products. If anyone wants to
  13. use the Alarm Server itself/and or drivers in an application,
  14. contact Pelican Software Inc. for liscensing information.
  15.  
  16. Npdriver.opo
  17.  
  18. This is the actual driver that gives you access to the Alarm
  19. Server. Included in the zip file is an example of how to use
  20. the driver. The file is called Nptest.opl/opo. Take a look at
  21. this file to see how to access the Alarm Server.
  22.  
  23. Parameters to pass:
  24.  
  25. To use the Npdriver.opo Alarm Server driver, you need to pass
  26. certain information when calling the program.
  27. Npdriver.opo requires just three parameters. The first is a long
  28. integer, the date that the alarm will ring, in the common opl
  29. format days(day,month,year) Note that the long integer that is
  30. passed(like date&) should not be converted to system time format.
  31. (seconds). d&=(d&-25567)*86400 (don't do this!)
  32. It should be the pure days(d,m,y) format.
  33.  
  34. The second parameter is the time in seconds, also a long integer.
  35. Example: time&=datetosecs(1970,1,1,hour,minute,0) would be now.
  36.  
  37. The third is the text message you want to be displayed when the
  38. alarm rings. ( like mess$) The mess$ is limited to 64 characters.
  39.  
  40. They should be called like this: Npdriver:(date&,time&,mess$)
  41.  
  42. Of course the Npdriver.opo file should be loaded using loadm first.
  43.         Loadm "M:\opo\Npdriver.opo"
  44.  
  45.  
  46.