Quantcast
Channel: KVR Audio
Viewing all articles
Browse latest Browse all 3274

Blue Cat Audio • Re: PnS - Read files from folder

$
0
0
Ah ok, so at least it's coherent - it fails selecting the directory.

The Angelscript fileSystem object seems to be defaulting to the app's working directory (which can be modified by many operations - do not rely on it).

Oh, after copying/pasting your code to try it out, I noticed that you used single quotes for the string, and the angelscript engine is actually configured to use single quotes for numbers (to make it closer to C++ syntax). Changing those to double quotes will fix your issue. If you print the myFolder string you will see that it has nothing to do with what you expect :-).

Statistics: Posted by Blue Cat Audio — Tue Nov 26, 2024 10:04 am



Viewing all articles
Browse latest Browse all 3274

Trending Articles