[Gambas-user] How to make a direct call to a module function

Fabien Bodard gambas.fr at ...626...
Sun Nov 23 13:22:21 CET 2008


oups,

in fact i can handle that as a class

dim hClass as Class
dim s as String

hClass = Classes["MyModuleName"]

For each s in hClass.Symbols
  PRINT s & iif(hClass[s].Kind = Class.Method, " ==> is a Method", "")
Next


Sorry

2008/11/23 Fabien Bodard <gambas.fr at ...626...>:
> I want to call a module function dynamiquely
>
>
> in the idea it is that :
>
> Modules [sMyModule].Functions[sMyFunction](param)
>
> Please help me quikly ... it really stop me. I know how to do with
> class but with module ?
>
> is a module a class ? (i don't remember)
>
> Fabien
>




More information about the User mailing list