Hi, if you have 2 fields in a type - say A and B, and the third field C is the result of adding A and B:
Type Test
Field A
Field B
Field C=A+B
End type
global example:test
example = new test
example.a=10
example.b=20
...why wont example.c be calculated from the values of example.a and example.b? If doesnt seem to be able to access them and instead of 30, example.c will equal 0.
Thanks for any help.
Type Test
Field A
Field B
Field C=A+B
End type
global example:test
example = new test
example.a=10
example.b=20
...why wont example.c be calculated from the values of example.a and example.b? If doesnt seem to be able to access them and instead of 30, example.c will equal 0.
Thanks for any help.