Hi Stefan,
I don't think we have information on the wiki yet about these additions, so here's a brief summary:
New Built-in Functions
The Built-in Functions are used in simulation and in deployed App Developer apps to extend the functionality of Flowcode. There are over 300 of these and we've added a few more. Some of these suggestions have come from users.
- SetClipboardData - places text data onto the Windows clipboard
- ReadClipboardData - reads text data from the Windows clipboard
- GetHasFocus - identifies which Flowcode window has the focus
- SetWorldPosition - sets the position of an object on the 2d panel
- GetWorldPosition - reads the position of an object on the 2d panel
- SetWorldSize - sets the size of an object on the 2d panel
- GetWorldSize - reads the size of an object on the 2d panel
- Set2DPanelCentre - sets the camera view coordinates of the 2d panel
- Set2DPanelZoom - sets the zoom level for the 2d panel
- ShellExecute - allows external files, websites, etc., to be launched
Toolchains no longer require 8.3 short filenames
Most users will not be affected by this, but it is a longstanding issue with Flowcode that made using certain toolchains difficult unless they were installed in a specific location.
In all previous versions of Flowcode, the toolchains required them to be installed in locations that had no space in their full pathname, or if there were spaces present then these paths needed to have 8.3 short pathname equivalents. We have rewritten how Flowcode interacts with these toolchains so that this restriction is no longer necessary.
API DLL improvements
These API DLLs are used by some Flowcode components to extend their functionality in simulation or in App Developer. The additions are:
- TCPIP - secure comms added
- DateTime - GetTick added for millisecond timer resolution
- SerialDLL - GetCOMDetails added so components can report details and make decisions on the connected hardware