Addr object - Druckversion +- AmiBlitz³ (https://www.amiblitz.de/community) +-- Forum: AmiBlitz³ (https://www.amiblitz.de/community/forum-3.html) +--- Forum: Questions & Answers (https://www.amiblitz.de/community/forum-7.html) +--- Thema: Addr object (/thread-183.html) |
Addr object - tolkien - 24.04.2017 Hello! Following with my coding therapy I'm working again with ab3 porting some of my code from ab2. More or less is all ok but I have a little problem. I need de address of a bitmap object to can read its attributtes. In ab2 I do *pb.BitMap = Addr BitMap(0) but that doesn't work in ab3 nor bb2. I add all necessary res files but the problem persist. Any idea what is wrong? Thanks in advance mates. Re: Addr object - tolkien - 25.04.2017 Well....I now understand the problem. Simply if I write something like this It doesn't compile: Code: bm.b = 0 Obviously if I replace BitMap(bm) with a number in the parameter It works. The problem is that I use it within a Statement and need to pass a parameter. Re: Addr object - Daedalus - 09.05.2017 Hmmm, that is a little strange, but it can be worked around with an extra line: Code: bm.b = 0 Re: Addr object - tolkien - 09.05.2017 Hey! That worked perfectly. Thanks Daedalus. Didn't now what to do. |