Encrypt/Decrypt in fP

Mike Rathburn mike at datadoit.com
Fri Nov 5 16:07:53 PST 2004


|-----Original Message-----
|From: Laura Brody [mailto:laura at hvcomputer.com]
|Sent: Friday, November 05, 2004 6:35 PM
|To: mike at datadoit.com; filepro-list at seaslug.org
|Subject: Re: Encrypt/Decrypt in fP
|
|For your project, you would want to do something like this:
|
|then: export expfile=(filename) ...
|then: expfile(1) = 1
|then: expfile(2) = 2
|   if: ' In this example, field 3 contains the tax ID number.
|then: ' Strip out any - symbols with xlate, then convert to base 36.
|then: expfile(3) = base(xlate(3,"-",""),"10","36")
|then: expfile(4) = 4
|
|
|For the import, just change the value back....
|
|then: import ifile=(filename) ....
|then: 1 = ifile(1)
|then: 2 = ifile(2)
|then: 3 = base(ifile(3),"36","10")
|
|Few things in this world are this easy.
|-- 
|Laura Brody, Publisher of the filePro Developer's Journal
---------------------------

Absolutely perfect!  Yes, very easy.  Thank you for your quick help.

-MikeR


More information about the Filepro-list mailing list