Author Topic: method with assigned presets can't be called without them  (Read 1991 times)

0 Members and 1 Guest are viewing this topic.

kryton9

  • Guest
method with assigned presets can't be called without them
« on: June 30, 2011, 12:52:42 AM »
Charles, here is what I am running in too.
Here is the Method:
Code: OxygenBasic
  1.         method Create( sys aWidth   =  800,
  2.                        sys aHeight  =  600,
  3.                        sys aBits    =   32,
  4.                        sys aFullscreen = 0,
  5.                        string aCaption = "Simple GLWindow",
  6.                        sys aLeft = 0,
  7.                        sys aTop  = 0,
  8.                        sys aIcon = 0,
  9.                        sys aMenu = 0 ) as sys

I can't just call it like this:
Code: OxygenBasic
  1. win.Create() '( aWidth = 640, aHeight = 480 )
I need to give it those parameters as shown in the comment, but not the rest?

It seems like I should be able to call just win.Create()