Fibonacci word/fractal: Difference between revisions

Content added Content deleted
(→‎{{header|AutoHotkey}}: Added lib header)
Line 13: Line 13:
=={{header|AutoHotkey}}==
=={{header|AutoHotkey}}==
Prints F_Word<sub>30</sub> currently. Segment length and F_Word<sub>n</sub> can be adjusted.
Prints F_Word<sub>30</sub> currently. Segment length and F_Word<sub>n</sub> can be adjusted.
{{libheader|GDIP}}Some portions of code from [http://www.autohotkey.com/board/topic/29449-gdi-standard-library-145-by-tic/ Gdip examples].

'''Requires:''' [http://www.autohotkey.com/board/topic/29449-gdi-standard-library-145-by-tic/ Gdip.ahk] as a Lib or #Include.
<lang AutoHotkey>SetBatchLines, -1
<lang AutoHotkey>SetBatchLines, -1
; #MaxMem 200 ; Increased memory required for F_Word > 37
; #MaxMem 200 ; Increased memory required for F_Word > 37
Line 73: Line 72:
Gdip_DeletePen(pPen), SelectObject(hdc, obm), DeleteObject(hbm)
Gdip_DeletePen(pPen), SelectObject(hdc, obm), DeleteObject(hbm)
, DeleteDC(hdc), Gdip_DeleteGraphics(G), Gdip_Shutdown(pToken)
, DeleteDC(hdc), Gdip_DeleteGraphics(G), Gdip_Shutdown(pToken)
ExitApp</lang>
ExitApp</lang> Some portions of code from [http://www.autohotkey.com/board/topic/29449-gdi-standard-library-145-by-tic/ Gdip examples] by tic (Tariq Porter).


=={{header|D}}==
=={{header|D}}==