Variable Assignments

Stanley - stanlyn.com stanley at stanlyn.com
Sat Aug 20 22:23:44 PDT 2016


Hi,

How do I get the value of a field (by number) when calculating an offset?

Normally if field 10 equals "test" and we assign aa=10, the value of aa is "test".  This works as expected.

When I calculate the offset for the field whose value I need, I cannot get a result of "test" if the variable (from the offset calculation) equals 10.  It is returning 10 instead of "test".  So how do I get it to return the value of field x?

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

Thanks,
Stanley




More information about the Filepro-list mailing list