Ben -
We must have different versions of RBase for Windows. The results I
get for the command
QUIT TO command_block_name IN proc_name.apx
are:
Windows 6.1A: -ERROR- Syntax is incorrect for the command.
Windows 6.5: -ERROR- Syntax is incorrect for the command. (2045)
Windows 6.5++: -ERROR- Syntax is incorrect for the command QUIT. (2045)
R:Syntax shows this QUIT TO command to be valid but it isn't working here.
RUN command_block_name IN proc_name.apx
works just fine for the same files.
Please test this and let me know if you are getting different
results with 6.5++. This particular item was on my wish list of
improvements for 6.5++.
Bernie
=======================================
At 02:22 PM 8/31/2001 +0100, you wrote:
>Bernie,
>
>quit to CmdBlock in YourApp.apx has worked fine for me in 6.1a
>and I _think_ in 6.5+
>
>Ben Petersen
>
>
>On 31 Aug 2001, at 11:26, Bernie Corrigan wrote:
>
>> J.M. -
>>
>> That command simply doesn't work when you are attempting to QUIT TO
>> a command file within a procedure file. The technique I use is to quit to
>> a one line command file which then RUNs the command file in the procedure
>> file. You can QUIT TO single codelocked command files but not to command
>> files within codelocked procedure files.
>>
>> Bernie
>> =======================================
>> At 07:14 AM 8/31/2001 -0400, you wrote:
>> >
>> >Hi all,
>> >
>> >I know that this topic has been discused already ...
>> >
>> >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
>> >
>> >I codelock it using option 5, name of the codelocked file is DAU.APX
>> >
>> >Then I enter :
>> >
>> >QUIT TO dau IN dau.apx
>> >
>> >And I get the above error message ....
>> >
>> >Same problem when codelocked with option 1
>> >
>> >No problem when the same codelocked file is run with :
>> >
>> >RUN dau IN dau.apx
>> >
>> >Is it a bug ? or am I doing something wrong ?
>> >
>> >TIA
>> >
>> >
>> >J.M. GRATIAS, Logimatique, France
>> >
>>
>>
>
>
>