Why can't we declare two _Get function in a class ?

One in static the other in instance ?



STATIC PUBLIC FUNCTION _Get[sValue as string] as MySelf
  hMySelf as new MySelf

  return MySelf
END


PUBLIC FUNCTION _Get[Index] as _MySubClass
  return aSubClass[index]
END

Logically i must be possible ...

--
Fabien Bodard

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to