Hi all,

I had a more carefull look on the problem reported a few hours ago.

It has nothing to do with WHILE loop ....
But there is a problem with function  (CVAL('CURRDIR'))
CHOOSE from a codelocked menu don't work after calling  (CVAL('CURRDIR'))
function.

Command file sample :

SET var vdbpath TEXT = NULL
SET var vdrive TEXT = NULL
SET VAR vdbpath = (CVAL('CURRDIR'))
CHOOSE vdrive FROM mdrive IN mdrive.apx
RETURN


This is the menu :

$MENU
mdrive
POPUP
|#DRIVES|
ENDC

Just codelock it and RUN the command file sample : no choose display ....
Same with TRACE works OK
This seems to be general :  same (CVAL('ECHO')) 
Can somebody confirm ?

Any idea ?

TIA

J.M. GRATIAS, Logimatique

Reply via email to