November 05, 2005
Is there a way to do a runtime "include" to act like #include in C++? It seems like I always need to know all the files and add them through C++ code - setInclude. Could it be possible to include files runtime in JS? Thanks in advance!


November 05, 2005
"adzheng" <adzheng_member@pathlink.com> wrote in message news:dkgtkm$52b$1@digitaldaemon.com...
> Is there a way to do a runtime "include" to act like #include in C++? It
seems
> like I always need to know all the files and add them through C++ code - setInclude. Could it be possible to include files runtime in JS? Thanks in advance!

The script interpreter should be ECMA compliant, and adding include files breaks that. But you can add it to your version, shouldn't be a problem.