home *** CD-ROM | disk | FTP | other *** search
-
- Birthdate Verification PCL addition
- -----------------------------------
-
- To install, modify your OPEN.CTL file in the CONTROL\ directory. Find the
- line that says "*CONCLR". Then add the following 11 lines AFTER the *CONCLR
- label. This will normally make these 11 lines between *CONCLR and "clearscr".
-
- DIVVAR(/:TIMESON//20=A)
- MULTVAR(%VAR%A*20=B)
- NOTIF (&B)=(/:TIMESON/) THEN GOTO (PSB)
- SAY(&CR& &3&Please enter your birthdate for validation.&14&)
- PICTURE(##-##-##)
- IF (%RESP%)=(/:BIRTH/) THEN GOTO (PSB)
- ADDVAR(/:TIMESON/+-1=B)
- SETEQUAL(/TIMESON=%VAR%B)
- LOG(<<,Birthdate Validation Incorrect (/:BIRTH/))
- QUITBBS
- *PSB
-
- By default, verification will take place once every 20 calls. This can
- be changed by changing the "20" in lines 1 and 2.
-