[Gambas-user] Callback
tobias
tobiasboe1 at ...20...
Thu Aug 11 07:42:14 CEST 2011
hi,
> Um. It's late at night and my dev box is having a lie down.
>
> Public Function Something(i As Variant, callback As String) as Variant
> Return Eval(subst("&1(&2)",callback,i)
> End
>
this looked fine to me first (even though it has nothing to do with a
function pointer), but complains that the given symbol was unknown, so i
may pass an environment collection but then, again, it has to be a
pointer which i cannot call.
regards,
tobi
More information about the User
mailing list