J.M.,

The QUIT TO CodeLockedFile ONLY works with INDIVIDUAL 
Code Locked Commands, NOT in a Blocked Procedure File, etc. 

The following is a list of ENHANCEMENTS and BUG-FIXES in 
Code Lock. 

01. Passing Parameters:

Passing parameters was handled differently in CODE LOCKED 
and STAND ALONE applications.

Technical Explanation:

What was happening was that in the non-codelocked version 
when '.%1' was encountered it said "this has quotes, therefore 
it must be a string so do not try to parse what is inside." In 
the codelocked version it looked it did not check for the 
original quotes before looking inside for possible variables.

02. Support for Dynamic Menus in Codelock

03. Codelock will not process a procedure file that begins with 
    a comment. 

Technical Explanation: 

Initial comment lines are now supported provided they start 
in the first column of the line with either *( or --.  In 
addition, this limited comment support does not support a 
comment that starts on one line and ends on another. This 
means that each comment line must be its own complete comment.

04. Support for QUIT TO Codelocked_FileName command.

Example:

If you have a CodeLocked MainMenu.RMD which QUITs to another 
command file, such as SubMenu.RMD and if that command is also 
codelocked, that should be NO PROBLEM. 

If the CodeLocked SubMenu.RMD QUITs to CodeLocked MainMenu.RMD, 
that SHOULD NOT BE A PROBLEM either!

Hope that helps you understand the enhancement of QUIT TO 
CodeLocked Command.

If you need a sample application to understand that logic in 
the CURRENT version of R:BASE, feel free to contact me. 

Enjoy and make sure to have fun!

Very Best Regards,

Razzak.

At 07:14 AM 8/31/2001 -0400, J.M. GRATIAS wrote:
>
>I try to use rbw6.5++ new command QUIT TO BlockName 
>IN ProcName, and I get 
>:
>'Syntax is incorrect for the command QUIT (2045)'
>
>Is there anybody that could help ?
>
>Here is what I am doing :
>
>I have a command file named DAU.RMD :
>
>$COMMAND
>DAU
>*( Comments .....)
>SET error var varr
>....
>Code
>....
>RETURN

===================================-============================
R:BASE Developers's Conference: http://www.rbase.com/conference 
Official R:BASE List Server:    mailto:[EMAIL PROTECTED]
RBTI Events/Training:        http://www.rbase2000.com/events
R:DCC Members:               http://www.rbase2000.com/rdcc
================================================================
R:BASE, Oterro & R:Tango are registered trademarks of RBTI.
==================================-=============================

Reply via email to