--- title: "TurboPTR" type: "article" slug: "turboptr" url: "http://localhost/article/turboptr/" markdown_url: "http://localhost/article/turboptr.md" published_at: "2025-12-18T22:01:52+00:00" modified_at: "2025-12-18T22:01:52+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "TURBO is not compatible with all SuperBasic extensions, esp. those with array paramaters or return values through parameters. QPTR is one such set of extensions. So, to create Pointer Environment programs using TURBO, George Gwilt has written TurboPTR, which is a freeware replacement to QPTR. TurboPTR is comprised of the following elements: TPTR - a…" category: - name: "QL Hacker's Journal" slug: "ql-hackers-journal" taxonomy: "category" url: "http://localhost/category/periodicals/ql-hackers-journal/" post_tag: - name: "QL" slug: "ql" taxonomy: "post_tag" url: "http://localhost/tag/ql/" - name: "Superbasic (programming language)" slug: "superbasic-programming-language" taxonomy: "post_tag" url: "http://localhost/tag/superbasic-programming-language/" model: - name: "Sinclair QL" slug: "sinclair-ql" taxonomy: "model" url: "http://localhost/model/sinclair-ql/" indiv: - name: "Tim Swenson" slug: "tim-swenson" taxonomy: "indiv" url: "http://localhost/indiv/tim-swenson/" publication_r: id: 33686 title: "QL Hacker’s Journal" type: "periodical" url: "http://localhost/periodical/ql-hackers-journal/" authors_r: - name: "Tim Swenson" slug: "tim-swenson" taxonomy: "indiv" url: "http://localhost/indiv/tim-swenson/" issue: "34" issues_articles: - id: 61570 title: "QL Hacker’s Journal 34" type: "issue" url: "http://localhost/issue/ql-hackers-journal-34/" pubdate: "December 2001" archive_link: true --- # TurboPTR TURBO is not compatible with all SuperBasic extensions, esp. those with array paramaters or return values through parameters. QPTR is one such set of extensions. So, to create Pointer Environment programs using TURBO, George Gwilt has written TurboPTR, which is a freeware replacement to QPTR. TurboPTR is comprised of the following elements: TPTR – a set of extensions TPTR_BAS – a set of SuperBasic routines that get merged with your program. TPTR_SETF.TASK – a program that helps setup the window definitions (inc. sprites and such). TurboPRT also comes with some example sprites and three example programs. I’m not a PE programmer so I can’t say much about TurboPTR other than I hope to find the time to try it out.