CassLan
12-12-2009, 04:29 AM
Hi all,
If I define a constant as the sum of two variables:
CON
VARSUM = VAROne + VARTwo
VAR
Byte VAROne, VARTwo
As I change the values of VAROne and VARTwo, will the value of VARSUM change automatically?
Or would I have to make VARSUM a variable and update its value as VAROne and VARTwo change?
I would test this but am not near a setup right now, and am making some outlines for a program.
Thanks,
Rick
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
NYC Area Prop Club (http://www.gothampropclub.com)
Prop Forum Search (Via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)
·
If I define a constant as the sum of two variables:
CON
VARSUM = VAROne + VARTwo
VAR
Byte VAROne, VARTwo
As I change the values of VAROne and VARTwo, will the value of VARSUM change automatically?
Or would I have to make VARSUM a variable and update its value as VAROne and VARTwo change?
I would test this but am not near a setup right now, and am making some outlines for a program.
Thanks,
Rick
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
NYC Area Prop Club (http://www.gothampropclub.com)
Prop Forum Search (Via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)
·