Migration From Version 1

Top  Previous  Next

This topic lists all known issues that you may encounter when compiling your existing project under new software (compiler).

On the EM202 platform, the following functions had to be deleted in order to clear up space for "true" arrays and structures: date, daycount, hours, mincount, minutes, month, weekday, year.
Additionally, the EM202 platform no longer supports redirection (buffer shorting), so ser.redir and sock.redir methods are no longer available.
Beginning with release 2.0, the period (".") is a recognized syntax unit and cannot be used in identifiers. Therefore, we had to rename "get" and "set" methods of stor and rtc objects ("set" and "get" are reserved words). New names are Stor.getdata Method, Stor.setdata Method, Rtc.getdata Method, Rtc.setdata Method
Tibbo Basic compiler now requires strict type match for byref procedure arguments. Example: before, you could write sock.setdata(200). The sock.setdata takes byref string argument and we are passing a number. Compiler will now generate an error. Correct way: sock.setdata(str(200)).
Sock.event, sock.eventsimple read/only properties are no longer available. This is because on_sock_event now "brings" newstate and newstatesimple arguments with it.
On the EM1000 platform, one Enum pl_io_num constant has been renamed: "PL_IO_NUM_24_INT8" is now "PL_IO_NUM_24"
Vali function has been removed. Val function now works for conversion from strings into both signed (short) and unsigned (word) variables.