What's new in R2

Top  Previous  Next

New release 2.0 constitutes a marked improvement in the core of the Tibbo Basic itself, TIDE software, as well as EM202 and EM1000 platforms (TiOS firmware).

Note: when compiling your project with release 2.0 you may encounter a small number of migration issues.

New Tibbo Basic features

Support for 32-bit variable types: dword, long, and real (float).
"True" arrays -- up to 8 dimensions, string arrays allowed too, each array knows its size so erroneous access past last array member is not possible.
Structures -- user-defined combinatorial types that can include one or more member variables (so you can write "mystruct.x"). Member variables can be arrays and/or other structures as well.
Accurate variable type conversion (including type conversion in expressions).
Significantly improved compiler and linker ensure better memory management, cleaner code for the Virtual Machine, etc.

New TIDE functionality

Built-in image editor -- sufficient for small jobs like preparing "screens" for a device with LCD display.
Improved watch facility allows you to inspect arrays and structures.

New platform features

Corrected dynamic HTML code behavior in case the same page is being output to two clients (browsers).
Pat.play and beep.play now allow "**" which means "4 times the normal speed".
New sys.onsystimerperiod property defines how often on_sys_timer event will be generated (selected platforms only).
New sock.inconenabledmaster property globally disables connection acceptance on all sockets (see also: Accepting Incoming Connections).
New "split" mode of TCP data handling allows you to check the size of each incoming TCP packet and control the size of outgoing TCP packets: see sock.splittcppackets, on_sock_tcp_packet_arrival, "Split Packet" Mode of TCP Data Processing.
A set of new functions convert between string and 32-bit variables: cfloat, ftostr, lbin, lhex, lstr, lstri, lval and strtof.