Applies to: Docklight and Docklight Scripting V2.5, Article ID: dl_faq065
The upcoming V2.5 versions include an improved hex and decimal data parser. The “Paste” function now supports C-style hex numbers (e.g. 0x3F) and can parse whole C, Python, or Javascript array code blocks.
This allows you to directly copy-paste data definitions from your source code into Docklight sequences without manual reformatting.
For exporting to code, the Sequence Editor features a new `->C/Py/JS` button that creates source code for a constant array in C, Python or Javascript.
Please see the preview links below to test the improved clipboard and parser behavior.
Download Docklight V2.5 Preview Version