View Single Post
Old 19 January 2021, 15:27   #27
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,369
Quote:
Originally Posted by Akira View Post
So that's how you do it!
And if I read you correctly in the other thread, there's something I need to include here to make sure it works?
Yep, the bb2objtypes.res file needs to be added to the compiler settings (in Blitz 2 you'll need the full path, usually Blitz2:bb2objtypes.res) so you can access the definitions of all the Blitz object structures.

Quote:
I feel bad asking all this because it feels like it's buried somewhere in the shit manual and I cannot find it. I searched several pages for the "Addr" command and was not able to find it, for example. Also no explanation on how to create these type of objects, how to work with pointers, etc... just a really bad manual.
Yeah, it's not great, but you'll find it in the chapter on compiler directives and object handling, alongside Free, Use etc. Pointers are only very briefly covered in the manual, some decent examples would definitely be of help there! It's an area that I want to add some detail about on AmigaCoding... Some day
Daedalus is offline  
 
Page generated in 0.04413 seconds with 11 queries