Framework and Graphics problem

BlitzMax Forums/BlitzMax Programming/Framework and Graphics problem

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I tried out the FrameWork command to make my executables smaller but that did not quite work.

Framework brl.system
Import brl.retro
Import brl.max2d
Import brl.linkedlist
Graphics 640,480,0

This results into the error that there was a call to a "Null" object

Framework brl.system
Import brl.retro
Import brl.max2d
Import brl.linkedlist
Graphics 640,480

This resulted in the error "Graphics Mode does not exist"

What am I doing wrong?