Now, this code is ok:
- Code: Select all
class Program
def main is shared
i08 as int8
i08 = 127
but this is ko:
- Code: Select all
class Program
def main is shared
i08 as int8
i08 = -1
as it sends:
00049.cobra(4): error: Incompatible types. Cannot assign value of type int on th
e right to int8 on the left.
What am i missing? I obtain the same error with int16 while it's ok with int32 and int64.