R:azzak, 

I am one release back. I remember (which at my age is an iffy proposition) 
testing RECALC VAR with wildcards before and seemed to work. However and as I 
mentioned, my current protocol is to list every variable specifically and not 
use wildcards , this way I know exactly which variable is recalculated when 
programmatically needed and makes the code easier to read.

Javier,

Javier Valencia, PE
O: 913-829-0888
H: 913-397-9605
C: 913-915-3137


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of 
A. Razzak Memon
Sent: Wednesday, July 27, 2016 11:13 AM
To: [email protected]
Subject: RE: [RBASE-L] - Tip of the Day: RECALCulating Specific Variable(s)

Javier,

What version and build are you using?

FWIW ...

The enhanced "RECALC VARIABLES varlist separated by comma" command was 
implemented on Tuesday June 21, 2016 as a special request by Mike Byerley 
during the R:BASE X Enterprise SAT in Monroeville, PA.

Private updates were provided to Mike Byerley and all attendees. 
After regressive testing and feedback, the feature was officially documented on 
June 28, 2016.

Very Best R:egards,

Razzak


At 11:43 AM 7/27/2016, Javier Valencia wrote:

>Doug,
>
>Yes, you can use wildcards; however, make sure you use RECALC VAR 
>this%, that% And not the old way ...
>RECALC this%, that%
>If you skip "VAR" in any of the formats, whether it is a single or a 
>group of variables, it will generate an error. This change was 
>implemented a while back and I had to correct a lot of old code that 
>started throwing errors. Now, I always try to use the long name and 
>exact syntax for all commands with no shortcuts which avoids future 
>problems and as a bonus makes the code more readable.
>
>Javier,
>
>Javier Valencia, PE
>O: 913-829-0888
>H: 913-397-9605
>C: 913-915-3137
>
>-----Original Message-----
>From: [email protected] [mailto:[email protected]] On 
>Behalf Of Doug Hamilton
>Sent: Wednesday, July 27, 2016 10:14 AM
>To: [email protected]
>Subject: Re: [RBASE-L] - Tip of the Day: RECALCulating Specific 
>Variable(s)
>
>Just curious: Are wildcards acceptable?
>i.e.
>RECALC VARIABLES vTarget*
>to recalc vTargetPrice, vTargetCost, vTargetShipped
>
>Thanks,
>Doug
>
>On 7/27/2016 9:56 AM, A. Razzak Memon wrote:
> > Wednesday, July 27, 2016
> >
> > Tip of the Day: RECALCulating Specific Variable(s)
> > Product.......: R:BASE/Runtime/R:Compiler - X/X Enterprise (Version
> > 10)
> > Build.........: 10.0.1.10727 or higher
> > Section.......: EEPs
> > Keywords......: RECALC VARIABLES
> >
> > Traditionally, using the RECALC VARIABLES command recalculates all 
> > variables.
> >
> > Did you know that now you can recalculate a specific variable or a 
> > list of variables?
> >
> > The RECALC VARIABLES command has been enhanced to include an 
> > optional variable list, to perform a recalculation on a target 
> > variable or set of specified variables.
> >
> > -- Example 01:
> >    RECALC VARIABLES vTargetPrice
> >    RETURN
> >
> > -- Example 02:
> >    RECALC VARIABLES vTargetPrice,vShippedQuantity,vDiscountedRate
> >    RETURN
> >
> > Have fun!
> >
> > Very Best R:egards,
> >
> > Razzak.
> >
> > www.rbase.com
> > www.facebook.com/rbase

--
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to