Method New()

BlitzMax Forums/BlitzMax Programming/Method New()

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,

is it possible to overwrite the Method New() with a Method that is taking arguments?

Method New(x:int, y:int)
'useful code here
Start_x = x
Start_y = y

End Method 'New

I've tried it and getting the following error:

Compile Error: Identifier 'x' not found.

Peter