Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - shaoyang

#1
Hi,

I am very new to newlisp and not sure if it's good to raise the question to this forum.It could be a very simple question ,but I can't find related part in manuals:



do newlisp support such callbacks (or event) like method_missing ?

------------------------------------------------------------------

For example:

(new Class 'Foo)
(define (Foo:method_missing methodname, args) (dosomthing))
(Foo:helloworld) ; method_missing is expected to be triggered.


when I invoke helloworld function which is not defined in Foo context

 , then the Foo:method_missing will be called.