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


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

--
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