HTML Variable Example, Question
Posted: Mon Aug 04, 2008 10:33 am
i am messing arround with the HTML Variable Example. I would like to add some of my own variables into the example.
When i change this line:
System tick count: <!--VARIABLE TimeTick/TICKS_PER_SECOND --> seconds
in the index.htm file to:
System tick count: <!--VARIABLE TimeTick --> seconds
It reports corectly, but if i add a new variable like this:
System tick count: <!--VARIABLE tempx --> seconds
I get "error: 'tempx' was not declared in this scope", i have tried defining it as a global variable outside of main, and also tried to place it in the .h files with no luck.
Anyone go any ideas how to acomplish this ?
When i change this line:
System tick count: <!--VARIABLE TimeTick/TICKS_PER_SECOND --> seconds
in the index.htm file to:
System tick count: <!--VARIABLE TimeTick --> seconds
It reports corectly, but if i add a new variable like this:
System tick count: <!--VARIABLE tempx --> seconds
I get "error: 'tempx' was not declared in this scope", i have tried defining it as a global variable outside of main, and also tried to place it in the .h files with no luck.
Anyone go any ideas how to acomplish this ?