This is really a question for the Library (GDL) forum.
GDL is documented in the PDF GDL Reference guide, as well as (surprisingly to many) the Basic Library and Library Developer Kit:
http://www.graphisoft.com/support/developer/downloads/index.html
Beyond those, study the code of all of the available zone stamps as examples.
Karl
AC 28 USA and earlier • macOS Sequoia 15.3, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
One of the forum moderators