how to call a javascript user defined or function from biwascheme?

10 views
Skip to first unread message

Damien Mattei

unread,
Apr 3, 2017, 4:43:12 AM4/3/17
to BiwaScheme
all is in the title...
damien

jcubic

unread,
Apr 3, 2017, 5:58:30 AM4/3/17
to BiwaScheme
if you mean to execute javascript function from scheme then you can use js-eval

(js-eval "fn()")

or you can save the function in variable and call it with  js-call:

(define fn (js-eval "your_function"))

(js-call fn "string argument")

Damien Mattei

unread,
Apr 3, 2017, 9:05:01 AM4/3/17
to biwas...@googlegroups.com
thank you
the document reference is so summarized that i missed this
Damien
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "BiwaScheme" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/biwascheme/70yZ4lknHf0/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> biwascheme+...@googlegroups.com.
> To post to this group, send email to biwas...@googlegroups.com.
> Visit this group at https://groups.google.com/group/biwascheme.
> For more options, visit https://groups.google.com/d/optout.
>
Reply all
Reply to author
Forward
0 new messages