Difference between Byte() and .byte0
Posted: Fri May 19, 2017 3:36 pm
Is there any difference either the result or code generated between different ways of casting variables?
For example, if I have a variable 'Number' defined as a LongInt, is Byte(Number) the same as Number.byte0?
Simple question, but I can't find anything in the manual and have realised I use both variants in my code.
For example, if I have a variable 'Number' defined as a LongInt, is Byte(Number) the same as Number.byte0?
Simple question, but I can't find anything in the manual and have realised I use both variants in my code.