Two declared long variables, simple test of the two variables and I get an errant HEX file.
I have the two longs, I assign values and when code :
#define longone as long #define longtwo as long
if longone <> longtwo then ' do something end if
Then, I get an error in my runtime Hex.
If I code:
if [word]longone <> [word]longtwo then ' do something end if
All is good but I am not testing my real condition.
I am trying to compare the time in seconds to another value in 5 seconds time. I need to longs, and the IF ENDIF test....
Anyone got any thoughts?
Log in to post a comment.
Two declared long variables, simple test of the two variables and I get an errant HEX file.
I have the two longs, I assign values and when code :
#define longone as long
#define longtwo as long
if longone <> longtwo then
' do something
end if
Then, I get an error in my runtime Hex.
If I code:
if [word]longone <> [word]longtwo then
' do something
end if
All is good but I am not testing my real condition.
I am trying to compare the time in seconds to another value in 5 seconds time. I need to longs, and the IF ENDIF test....
Anyone got any thoughts?