1 / 327

; *****************************************************************

; *****************************************************************. ; * *. ; * CID.PPE V 1.60 (09-01-95) *. ; * *.

prentice
Download Presentation

; *****************************************************************

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ; *****************************************************************

  2. ; * *

  3. ; * CID.PPE V 1.60 (09-01-95) *

  4. ; * *

  5. ; * Written in PPL 3.10 for PCBoard 15.21 *

  6. ; * *

  7. ; * Designed By: Gary Meeker *

  8. ; * *

  9. ; * Began development: 04-06-93 *

  10. ; * *

  11. ; *****************************************************************

  12. ;

  13. ; This .PPE checks the secrity level of a user and if within the specified

  14. ; range, checks the Caller ID info for the phone number. If a number is

  15. ; found, then it writes it to the file specified.

  16. ;

  17. ; Usage:

  18. ;

  19. ; !CID.PPE C:\PCB\PPE\CID.CFG

  20. ;

  21. ; IF the configuration file is not specified, the CID.CFG in the same directory

  22. ; as CID.PPE will be used.

  23. ;

  24. STRING ConfigFile, CID, Private, Outside, Search(5), NameSearch(5), Text

  25. STRING CIDFile, PrivateFile, OutsideFile, NoMatchFile, LockOutFile

  26. STRING BadNumFile, PCPNumFile, PCPUserFile, FileName, Label, AreaCode

  27. STRING PhoneNumber, Formatted, Filter, Temp, TempFile

  28. STRING CID_AC, CID_NUM, TEMP_AC, TEMP_NUM, PF_Sec, OF_Sec, NM_Sec

  29. BYTE SecLow, SecHigh, Pos, Offset, NamePos, NameOffset, X, Length

  30. BYTE SCount, NCount

  31. BOOLEAN LogName, LogNoMatch, LogLockout, LogPCPursuit, Done, CIDTest

  32. BOOLEAN AreaCodeFix, AreaCodeFixed, LogFix, Display, NoMatch

  33. BOOLEAN SearchHex(5), NameSearchHex(5), SearchHexFlag, NameSearchHexFlag

  34. ;Characters to Filter out of Users Record Phone Numbers

  35. Filter = " -()+"

  36. Display = TRUE

  37. ;Parse the command line for possible ConfigFile

  38. GETTOKEN ConfigFile

  39. ;If not present use PPE info

  40. IF (ConfigFile = "") LET ConfigFile = PPEPATH() + PPENAME() + ".CFG"

  41. ;Read configuration file

  42. IF (EXIST(ConfigFile)) THEN

  43. FOPEN 1, ConFigFile, O_RD, S_DN

  44. FDEFIN 1

  45. FDGET Temp

  46. TOKENIZE REPLACE(Temp, " ", CHR(255))

  47. SCount = 1

  48. WHILE (TRUE) DO

  49. Search(SCount) = REPLACE(GETTOKEN(), CHR(255), " ")

  50. GETTOKEN SearchHex(SCount)

More Related