J.M.

Not sure if you are codelocking your files, but I found that the QUIT
TO.... 
failed on Code that was codelocked and had comments before any commands. 
I took the comments out and it worked fine. I can't remember If I put
them
back in after a few lines of code and tried it, but I know this was the
culprit in my case. I am using RBWin6.5++.

Jim Limburg

"J.M. GRATIAS" 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

Reply via email to