elena-lang
elena-lang copied to clipboard
long / int to short conversion
conversion : byte / short / long => real
It is not clear if it is an error. Because short is signed integer. For example the following code will work
#var word := 0FFFFFFFFh toShort.
Correct solution will be to introduced unsigned short / byte
:+1:
from #174 , hexadecimal constant should be of UIntNumber
Maybe, is a good idea implement the unsigned types, uChar, uShot, uInt, uLong ??
Yes, I'm planning to implement them
:+1: !! I will follow, in order to understand what you have done to implement !!
postponing to 1.9.24
nothing to fix