ZEN STUDIO
Working Panels
Compiler
the compiler is an integrated development environment (ide) for creating, editing, and compiling gpc scripts features include syntax highlighting find / replace real time error reporting bytecode size and memory usage analysi debug output window 16 bit vs 32 bit scripts legacy 16 bit scripts must be compiled using the legacy 16 bit compiler enable this option in device panel > use legacy 16 bit compiler use this only for older scripts that require compatibility compiler interface tab bar displays all open gpc scripts drag and drop to reorder tabs an asterisk ( ) indicates unsaved changes editor window used to edit gpc source code includes real time syntax highlighting text formatting search functionality syntax highlighting improves readability and reduces coding errors compiler output displays compilation results for the active script output includes errors warnings bytecode size stack memory usage percentage of memory used cronus zen provides 8 × 32kb memory slots important warnings should be treated as errors even if compilation succeeds, warnings may indicate deprecated functions out of range values potential instability unresolved warnings can cause runtime issues or device error codes compiler menu font size adjust editor font size via compiler > font size default 10 compile (f7) compiles the active script without running it used to verify errors warnings memory usage build and run (f5) compiles the active script and loads it directly into device ram the script runs immediately without programming a memory slot commonly used for live testing with the device monitor publish script allows submission of a gpc script to the public gpc library requirements registered device internet connection access via compiler > publish script this opens the publishing portal in your default web browser