references for Amiga structures for Free Pascal

danilos · 2158


  • Newbie
  • *
    • Posts: 27
    • Karma: +1/-0
on: October 09, 2019, 02:29:06 AM

I was trying to use free pascal, I went through the examples and tried to experiment using some c tutorials. I got a compiler error when I tried to define an IntuiText structure.

I am using uses Classes, SysUtils, exec, utility, intuition, gadtools, aGrahics; and my statement is var text1: IntuiText;

I am not sure what I am doing wrong. Is there a reference for the Amiga Free Pascal libraries somewhere?
thank you for any help


  • Moderator
  • Legendary Member
  • *****
    • Posts: 566
    • Karma: +55/-0
  • Convicted non contributor
Reply #1 on: October 09, 2019, 03:41:53 AM
Hello danilos,

I am not sure what I am doing wrong.

As a general remark it is generally considered normal for the Pascal language to prefix type definitions with a capital T. Therefor defining your variable as type TIntuitext would be your best bet  ;)

If you wonder why that is then it is to distinquish between types and (other) variable names.

Is there a reference for the Amiga Free Pascal libraries somewhere?
Yes, fortunately there is  :)

ALB42 generously provides a wiki which can be found here:

On the main page there is a list of links. One of them points to the Amiga/AROS/MorphOS RTL reference (also generously provided by ALB42) and links to here:

It is using html pages as generated by the FreePascal Help System and requires a bit of getting used to (in case tyou are not familiar with the layout):

  • In case you know which location things are to be found then you can click from package AROS then unit intuition then click on types for a list of types from this unit to end up at type TIntuiText if you scroll down a bit.
  • In case you have no idea where to look for then click from main package AROS and look for the link named index. That will show a ginormous list with links to all definitions that exists for those  units hat have their help available.
In case you still have questions then please feel free to ask. Might perhaps take me a while to answer as i'm restricted with my time but an answer you will get  :)

Happy coding !


  • Newbie
  • *
    • Posts: 27
    • Karma: +1/-0
Reply #2 on: October 09, 2019, 05:26:53 AM
much appreciated thank you!