CLEARP Verb
Syntax
CLEARP password{,level}
Description
In BBj 6.0 and higher, the CLEARP verb clears the protected status of a program saved with the SAVEP verb.
Parameter
|
Description
|
password(string)
|
The original password created with the SAVEP verb that protects the program. Passwords must match exactly and are case-sensitive.
|
level
|
In BBj 17.0 and higher, the level parameter specifies a call level.
|
Remarks
The CLEARP verb will not clear the protected status of a program protected with an unclearable password.
Example
READY
>1rem ' program
>savep "program.bbj","password",0
program.bbj
>/
!ERROR=62 (Cannot list protected programs)
>clearp "password"
>/
0001 rem ' program
>savep "program.bbj","password"
program.bbj
>clearp "guess"
!ERROR=62 (Invalid password)
>clearp "password"
>/
0001 rem ' program
>savep "program.bbj",""
program.bbj
>clearp ""
!ERROR=62 (Program has unclearable password)
>
|
See Also
Verbs - Alphabetical Listing
______________________________________________________________________________________
Copyright BASIS International Ltd. BBj®, Visual PRO/5®, PRO/5®, and BBx® are registered trademarks.
|