Page 1 of 1

NOEXITVALID problem

Posted: Wed Feb 20, 2019 6:13 am
by zolifree
Hi Roger!

I wanted to use the NOEXITVALID in DCGET, but it caused error.
I found in DCDIALOG.CH what caused it:

This line is wrong:

Code: Select all

#translate NOEXITVALID <cb> =>  VALID {|o,lExit|iif(!lExit,Eval(<cb>,o),TRUE)}
Replaced with this, and everything working well:

Code: Select all

#translate NOEXITVALID <cb> =>  VALID {|o,lExit|iif(!lExit,Eval(<cb>,o),.t.)}  
Best regards,
Zoltan

Re: NOEXITVALID problem

Posted: Wed Feb 20, 2019 6:58 am
by rdonnay
Zoltan -

Thank you for that feedback.

I corrected it in my DCDIALOG.CH.