Honeycombs: Difference between revisions

→‎{{header|PureBasic}}: Corrected hex count to 20
(options added)
(→‎{{header|PureBasic}}: Corrected hex count to 20)
Line 161:
 
Procedure initHoneycomb(*h.honeycomb, posX, posY, dx = 30, dy = 25, marginX = 10, marginY = 5)
Protected i, sx, sy, hCols = 5, hRows = 54, hexGadgetCount = hCols * hRows - 1
If Not *h: ProcedureReturn 0: EndIf
Line 231:
EndIf</lang>
[[File:PureBasic_Honeycomb.png]]
 
=={{header|Tcl}}==
{{libheader|Tk}}
Anonymous user