Skip to content

Installer Release v2.3.0

Compare
Choose a tag to compare
@cfangmeier cfangmeier released this 25 Apr 22:00
· 21 commits to master since this release

This release adds flex references to the gScript language. Much code was touched to implement this feature so some things may be broken. Please open an issue if you discover something not working.

Full Changelog: v2.2.13...v2.3.0

Flex References

(New in v2.3.0) Flex references are a more compact alternative to using the FLEXREAD or FLEXWRITE commands. They can be placed anywhere where a variable or literal can be, and are constructed by simply prepending an ampersand to the name of an entry in the FlexWorktable. For example,

# Tradition usage of FLEXREAD
FLEXREAD $var my.config.value
PRINT %d $var

# Now, using a flex reference instead
PRINT %d &my.config.value

Flex references can also be used in conjunction with string interpolation.

COPY $id 5
PRINT "Module %d has dimensions %f x %f mm." $id &module_{$id}.width &module_{$id}.height