Author | Topic: Variables contents | |
---|---|---|
Carlos Beling | Variables contents on Fri, 05 Mar 2004 15:55:00 -0300 When the object has: . . . VAR xVar METHOD example(xVar) METHOD xClass:example(xVar) if ::xVar == xVar ... endif RETURN Self . . . When the mouse is over ::xVar VX shows the content of xVar and not of ::xVar. Beling Best regards | |
Technical Support | Re: Variables contents on Wed, 10 Mar 2004 10:40:59 +0100 "Carlos Beling" <beling@uai.com.br> wrote in message news:Grk2UNuAEHA.3320@S15147418... > When the object has: > . > . > . > VAR xVar > METHOD example(xVar) > > METHOD xClass:example(xVar) > if ::xVar == xVar > ... > endif > RETURN Self > > When the mouse is over ::xVar VX shows the content > of xVar and not of ::xVar. Carlos, I can confirm this behaviour. It will be fixed for the next revision. Meanwhile, you may try switching on option "Evaluation Expressions" (see Tools ->Debugger Options). If this is on, VX tries to evaluate the "context" of the token the cursor was placed over, i.e. it prepends "::xVar" with "self". You'll have to be careful, though. In order to determine a token's value, this option will cause VX to also perform function and method calls! If an expression happens to evaluate to "_quit()" or "DbSkip()" etc., this may have undesired side-effects ... . Regards, Till -- --------------------------------------------------- ARD - Alaska Research & Development Web: http://www.alaska-research.com Investors: http://www.alaska-research.com/tifund E-Mail: mailto:till.warweg@alaska-research.com Contact: mailto:info@alaska-research.com --------------------------------------------------- | |
Carlos Beling | Re: Variables contents on Wed, 10 Mar 2004 09:44:47 -0300 Hi Till: many thanks. Beling Regards Technical Support wrote: > "Carlos Beling" <beling@uai.com.br> wrote in message > news:Grk2UNuAEHA.3320@S15147418... > >>When the object has: >>. >>. >>. >>VAR xVar >>METHOD example(xVar) >> >>METHOD xClass:example(xVar) >>if ::xVar == xVar >> ... >>endif >>RETURN Self >> >>When the mouse is over ::xVar VX shows the content >>of xVar and not of ::xVar. > > > Carlos, > > I can confirm this behaviour. It will be fixed for the next > revision. Meanwhile, you may try switching on option > "Evaluation Expressions" (see Tools ->Debugger Options). > If this is on, VX tries to evaluate the "context" of the token > the cursor was placed over, i.e. it prepends "::xVar" with > "self". You'll have to be careful, though. In order to > determine a token's value, this option will cause VX to > also perform function and method calls! If an expression > happens to evaluate to "_quit()" or "DbSkip()" etc., > this may have undesired side-effects ... . > > Regards, > Till > > -- > --------------------------------------------------- > ARD - Alaska Research & Development > > Web: http://www.alaska-research.com > Investors: http://www.alaska-research.com/tifund > E-Mail: mailto:till.warweg@alaska-research.com > Contact: mailto:info@alaska-research.com > --------------------------------------------------- > > > |