G'day,

Since this issue is continuing (and I don't have a solution)
I thought I'd share a workaround that will:
1. Work in all versions,
2. Retain the security of your codelocked files and code,
3. Work 100% of the time.

I had some requests from users to be able to get back to the
main BizMan menu without pressing [Esc] or clicking Exit
on successive menu options.

As they were running 6.1 and the QUIT TO a codelocked file was
not an option at the time I created a new menu option
[Quit to main menu] which ran the code:
QUIT TO MainMenu.go

There is one line in MainMenu.go:
RUN MenuMain IN MenuMain.apx

No compromise on code security,
No failures to run,
No problemmo period.


At 07:20 AM 03/09/2001 -0400, you wrote:

>Bernie :
>
> >>
>About the difference between a simple command file and a procedure file:
>Say scram.asc is
>
>-- scram.asc
>SET VAR x TEXT = 'x'
>PAUSE 2 USING 'Hi There!'
>OUT savex.txt
>WRITE .x
>OUT screen
>RETURN
>
>Then scram.asc is a simple command file.  It can be executed with either
>RUN
>scram.asc or QUIT TO scram.asx.
>
>CODELOCK 1 scram.app scram.bak scram.apx
><<
>
>Thanks to your explanations, I becomes more clear ...
>I never used codelock like that, and syntax RUN scram.apx and QUIT TO
>scram.apx is new for me !!!
>
>I use this new knowledge in my app ... and there is a new problem :
>
>QUIT TO MyApp.apx
>
>return OK the first time I enter RBW, but don't when I rerun : I get
>message :
>'Unrecognized command - retype it (40)'
>
>To make it work again, I have to exit and rerun RBW
>
>RUN MyApp.apx works OK in all cases.
>
>I use standard setting and never change them ...
>
>
>J.M. GRATIAS, Logimatique, France

Warmest regards,


Tom Grimshaw
coy:    Just For You Software
tel:    612 9552 3311
fax:    612 9566 2164
mobile: 0414 675 903

post:   PO Box 470  Glebe  NSW  2037  Australia
street: 3/66 Wentworth Park Rd  Glebe  NSW  2037

email:  [EMAIL PROTECTED]
web: www.just4usoftware.com.au

This email and any files transmitted with it are confidential to the 
intended recipient and may be privileged. If you have received this email 
inadvertently or you are not the intended recipient, you may not 
disseminate, distribute, copy or in any way rely on it. Further, you should 
notify the sender immediately and delete the email from your computer. 
Whilst we have taken precautions to alert us to the presence of computer 
viruses, we cannot guarantee that this email and any files transmitted with 
it are free from such viruses.

Reply via email to