problem with type usage

BlitzMax Forums/BlitzMax Programming/problem with type usage

z80jim, can you say how? If it was Skids answer then why did your other programs not have the same problem if they're identical?
Skid, can you explain what the problem is? I understand what you're saying the cause is but not sure how the loadimage can fail as long as it is after the graphics command.