--- title: "Sinclair BASICs: DEF FN" type: "article" slug: "sinclair-basics-def-fn" url: "http://localhost/article/sinclair-basics-def-fn/" markdown_url: "http://localhost/article/sinclair-basics-def-fn.md" published_at: "2025-07-12T01:55:09+00:00" modified_at: "2025-07-12T01:55:10+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "This is a look at the DEF FN keyword of Sinclair BASIC and its companion function FN because it was a feature I used very little, and that I recently dug into and found some surprises." category: - name: "ZXzine" slug: "zxzine" taxonomy: "category" url: "http://localhost/category/periodicals/zxzine/" post_tag: - name: "TS 2068" slug: "ts2068" taxonomy: "post_tag" url: "http://localhost/tag/ts2068/" model: - name: "Timex/Sinclair 2068" slug: "ts-2068" taxonomy: "model" url: "http://localhost/model/ts-2068/" indiv: - name: "Ryan Gray" slug: "ryan-gray" taxonomy: "indiv" url: "http://localhost/indiv/ryan-gray/" publication_r: id: 38051 title: "ZXzine" type: "periodical" url: "http://localhost/periodical/zxzine/" authors_r: - name: "Ryan Gray" slug: "ryan-gray" taxonomy: "indiv" url: "http://localhost/indiv/ryan-gray/" issue: "12" issues_articles: - id: 60034 title: "ZXzine Issue 12" type: "issue" url: "http://localhost/issue/zxzine-issue-12/" pages: "15-19" pubdate: "July 2025" archive_link: false --- # Sinclair BASICs: DEF FN This is a look at the DEF FN keyword of Sinclair BASIC and its companion function FN because it was a feature I used very little, and that I recently dug into and found some surprises.