Variable Assignments
Kenneth Brody
kenbrody at spamcop.net
Sun Aug 21 07:51:41 PDT 2016
On 8/21/2016 1:23 AM, Stanley - stanlyn.com via Filepro-list wrote:
[...]
> Aa="9"+"1"
>
> Fn=aa ' returns the number 10 instead of the value of field 10
>
> I've tried fn=(aa) and fn=((aa)) and both returns 10
That's because aa equals 10, so naturally storing the value of field aa
anywhere will get you 10.
This is where FIELDVAL() comes in:
fn = fieldval(-,aa)
--
Kenneth Brody
More information about the Filepro-list
mailing list