Exactly! Now you can also understand the example code I posted.
You can always convert numbers from ASCII to numeric decimal...
So... in the example with the test variable, if you take the ASCII number and subtract 48, you will be left with the Decimal Numeric Value (but this is only valid for numbers).
Look at my new example...
Code:test var byte loop: hserin [test] test=test-48 if test=4 then HSEROUT ["I've struck Gold",13,10] else HSEROUT ["No Cigar",13,10] endif goto Loop end
Bookmarks