>>>Does it allow method/function pointers or parameters like in Javascript for special patching ?
>>>
>>>curious
>>>
>>>thomas
>>
>>Sorry Thomas but i don't really understand the question. Can you explain it in VFP terms?
>
>Doesn't exist in Fox. In JavaScript, you can have a variable which is of a function type, i.e. a pointer to a function, so whenever you use the value of that variable, it actually calls a function to return the value. It's nice that you can pass that as a parameter. You can also define a property of an object as a function (frequently inline, defined on the spot) and then it behaves automatically as an _access method. I guess it actually is an access method, only it's not limited to a property, it can be any variable.
AND it really overrides the return value similar to vfp8 implementation of bindevent() on methods...
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement