Function Overwriting with Imports

BlitzMax Forums/BlitzMax Programming/Function Overwriting with Imports

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.

Hi.
My Problem :
BlitzMax ImageFont Lib and my own ImageFont Lib.
Both the same function names & parameter. I thought i can switch between the two Libs with Framework and Import.
But i cant see a way to seperate ImageFont from Max2D.

And if i Use :

Framework brl.basic
import brl.max2d
import pub.myfont

i get an Compiler duplicate Error. I thought the Compiler overwrites max2d functions with the same pub.myfont functions. Please give me any idea to get a good solution.
Thanks!
Mfg Suco