You're trying to call a function from an object that doesn't yet exist.
You can use..
You can use..
Global PM:TPixmap = TPixmap.Create(128, 128, PF_RGBA8888) If PM=Null RuntimeError "PIX MAP NO LOADY"or
Global PM:TPixmap = CreatePixmap(128, 128, PF_RGBA8888) If PM=Null RuntimeError "PIX MAP NO LOADY"