[Gambas-user] _Get special sub

Fabien Bodard gambas.fr at ...626...
Tue Feb 11 23:44:21 CET 2014


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




More information about the User mailing list