Oxygen Basic
Information => Open Forum => Topic started by: kryton9 on June 30, 2011, 12:52:42 AM
Title:
method with assigned presets can't be called without them
Post by:
kryton9
on
June 30, 2011, 12:52:42 AM
Charles, here is what I am running in too.
Here is the Method:
Code: OxygenBasic
method
Create(
sys
aWidth = 800,
sys
aHeight = 600,
sys
aBits = 32,
sys
aFullscreen = 0,
string
aCaption = "Simple GLWindow",
sys
aLeft = 0,
sys
aTop = 0,
sys
aIcon = 0,
sys
aMenu = 0 )
as
sys
I can't just call it like this:
Code: OxygenBasic
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()