Hello GridScript++ Developers,
We are thrilled to announce the release of our latest guide, focused on a powerful utility in GridScript++: the
console.log, you might ask? The function serves as a vital debugging aid, making it easy to trace program execution, inspect data, and discover bugs. It supports a wide range of data types, allowing you to output anything from simple strings and integers to complex objects and arrays.
Our guide provides an in-depth look at how
console.log works within GridScript++. We cover each supported data type, complete with practical GridScript++ code examples. We also discuss the utility of
console.log in different execution contexts - whether your thread is associated with a user interface or not.
Moreover, we introduce the quick and efficient
evalGPP utility for testing GridScript++ code. This invaluable tool enables you to evaluate your code without creating a new .gpp file. You can use it either from the Virtual Terminal interface available over SSH or from the Terminal UI dApp.
Lastly, we explore JSON colorizing to make your output prettier and more readable. By the end of the guide, you’ll know how to colorize your JSON output to distinguish between keys, values, and braces easily.
Whether you’re a seasoned GridScript++ developer or a newcomer to the scripting world, this guide is a must-read. It’s packed with valuable information and tips to enhance your scripting skills and streamline your development process.
Take a look at the guide here. We’re eager to hear your thoughts and feedback on this new feature. Feel free to comment below or start a new thread for discussion.