You could just store the CODELOCKED password as data in a VarBit column and omit it totally from the Ascii and Codelocked RMD file, then you wouldn't have to change any of your source code, only updating the password as time would dictate.
----- Original Message ----- From: "Alastair Burr" <[EMAIL PROTECTED]> To: "RBASE-L Mailing List" <[email protected]> Sent: Wednesday, May 21, 2008 3:47 AM Subject: [RBASE-L] - Re: From The Edge: Programming in R:BASE 7.6 and Turbo V-8 forWindows > Many thanks for this document, Razzak. I have only skimmed through it quickly > and it looks to contains much of interest. > > One thing that did catch my eye - not as a problem with the document - was on > the last page where you suggest turning off rules when checking is not > needed. This is something that I do in a few situations but it causes me a > problem because only the owner can change the rules setting - which is not a > bad thing! > > I codelock a command file that contains the owner password and then replace > to password in the RMD file with ******. This works perfectly well for me as > a single user but would be liable to security breaches if I forgot to replace > the password in any other situation. > > Is there anyway that, for instance, rules could be set off by a special > command and then turned back on by R:Base following the next command? eg: > > SET RULES OFFTEMP > LOAD ... > -- rules set back on here with no further programming command > EDIT * FROM ... > > Clearly, there may be better ways of accomplishing the same thing but, > hopefully, that gives an idea of what I am getting at. Or, maybe a few > specific commands could have a "Rules On" option that is processed after > completion. > > Just thinking out loud, again... > Regards, > Alastair. > > > > ----- Original Message ----- > From: "A. Razzak Memon" <[EMAIL PROTECTED]> > To: "RBASE-L Mailing List" <[email protected]> > Sent: Tuesday, May 20, 2008 8:40 PM > Subject: [RBASE-L] - From The Edge: Programming in R:BASE 7.6 and Turbo V-8 > forWindows > > >> Tuesday, May 20, 2008 >> >> To All Users of R:BASE 7.6 and Turbo V-8 for Windows: >> >> Programming in R:BASE 7.6 and Turbo V-8 for Windows manual is now >> available at: >> >> From The Edge: http://www.razzak.com/fte/ >> >> The manual includes the following chapters: >> >> 01. Introduction to Programming in R:BASE >> 02. Using Variables >> 03. Program Communication >> 04. Manipulating Text Strings >> 05. Control Structures >> 06. Accessing Rows in a Table >> 07. Executing External Programs >> 08. Error Handling >> 09. Creating and Using Menus >> 10. Debugging Your Program >> 11. Using Optimizing Techniques >> >> If you are new to R:BASE, work through the R:BASE Tutorial in the >> main R:BASE program for a basic overview. Then, read this entire >> document. If you are an experienced programmer, read through this >> document, looking for new information and for procedures specific >> to R:BASE programming. Once you become familiar with the commands >> and how to use them, refer to the Command Index section in the >> main R:BASE Help for more commands. >> >> Very Best R:egards, >> >> Razzak. >> >> >> >> >> -- >> No virus found in this incoming message. >> Checked by AVG. Version: 7.5.524 / Virus Database: 269.23.21/1455 - Release >> Date: 19/05/2008 17:04 >> >> > > >

