use of integers in version 3 ?
Posted: Sun Jan 07, 2007 5:48 pm
Hi,
I was a simple counting up loop in a flowcode version 2 program using as countmaximum a variable that was like everything else a byte, so it couldn't have a larger value than 255.
worked fine, also under version 3, but ....
The number of times I wanted to go through the counting routine before taking a next action was on the short side, I thought that changing the variable countmaximum to type integer and making it 512 for instance would do just that.
It compiles OK, but the pic16F88 used does not know what to do with it, it behaves as though the maximum count is reached the first time the program goes through the loop.
Any suggestions, did I interpret how to use integers wrong, need to change configuration settings of the pic, or ...?
fransky
I was a simple counting up loop in a flowcode version 2 program using as countmaximum a variable that was like everything else a byte, so it couldn't have a larger value than 255.
worked fine, also under version 3, but ....
The number of times I wanted to go through the counting routine before taking a next action was on the short side, I thought that changing the variable countmaximum to type integer and making it 512 for instance would do just that.
It compiles OK, but the pic16F88 used does not know what to do with it, it behaves as though the maximum count is reached the first time the program goes through the loop.
Any suggestions, did I interpret how to use integers wrong, need to change configuration settings of the pic, or ...?
fransky