Quantcast
Channel: Daz Script Developer Discussion - Daz 3D Forums
Viewing all articles
Browse latest Browse all 1067

Using the include() statement

$
0
0

In the script I'm working on, I use the include statement at the top of the script to load a dsa, file which is similar to loading a DLL in C++. It works fine, and I can call functions within it from the main script.

In addition, I would like to dynamically include scripts that are listed in a text file. The reason for this is to support extensions which I might want to create down the road, and offer my users the extended functionality.

I've attempted to do this, but when I iterate through the file collection, the include statement fails. Example: include( sNextModule );

Anyone have a clue as to how this could work?


Viewing all articles
Browse latest Browse all 1067

Trending Articles