%ENCRYPTON / %ENCRYPTOFF Example


Example:

 

  

%ENCRYPTON

 

COMPANY

INIT

"Sunbelt Computer Software"

  

%ENCRYPTOFF

 

CITYST

INIT

"North Bay, Ontario Canada"

.

 

 

  

DISPLAY

*N,"Encrypted: ",COMPANY," ",CITYST

  

DECRYPT

COMPANY

  

DISPLAY

*N,"Decrypted: ",COMPANY," ",CITYST

 

This example code will encrypt the company name when the program is compiled and thus it won't be visible within the object code. The CITYST variable is explicitly not encrypted and is visible.

 



PL/B Language Reference AAMDEX Examples