Blonde Moment?
Blitz3D Forums/Blitz3D Programming/Blonde Moment?
| ||
Why am I getting an illegal type conversion in the following code?Type BrushElement Field ox Field oy Field NextBE.BrushElement Field PrevBE.BrushElement End Type Global be.BrushElement be=New BrushElement be\NextBE=New BrushElement be=be\NextBE\PrevBE=be ; <--- here be=be\NextBE |
| ||
Oh man, This is really messed... I get the illegal type conversion at be\NextBE=New BrushElement ...in my main program but in the following line... be=be\NextBE\PrevBE=be ...in the isolated code... is this a compiler bug? |
| ||
Maybe it is confused that you are double using 'be'? |
| ||
LOL... I just figured that out! hahaha it was a blonde moment! |
| ||
![]() |
| ||
LOL! |
| ||
Wasn't me. My account was hijacked by "Specis". |
| ||
be=be\NextBE\PrevBE=be in this line, you're assigning a boolean to the BE typed variable (because there are two "=") |