Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Is it possible to validate script syntax before executing it?

0
0
Hi All,
probably it's due to my lack of experience with this very useful library, but I was not able to find method or a set of methods to validate scripts syntax before running them. Something like this: say we have a file (or even a string) containing the whole script, let us call this file "myscript.jscript", have a method like

engine.Compile("myscript.jscript")

to allow me an anticipated validation of script syntax.
Thank you

Viewing all articles
Browse latest Browse all 2297

Latest Images

Trending Articles





Latest Images