Hello.

Assuming there are several VBScripts: [i]_Script_1.vbs, _Script__B.vbs,
AScript.vbs, 123.vbs and MyFuncs.vbs[/i]. In MyFuncs.vbs there is for example a
function "Foo(s_Var1)". To use Foo() in several VBScripts, I can call
'MyFuncs.Foo("Hello World!")' in these scripts.

But if I call Foo() in the "init" routine from these scripts, e.g. to read
paths, then in one script I get an error message because MyFuncs.vbs is not
loaded yet and in another script everything works fine.

How can I make sure that a script is loaded as first file before all other
files?

-- 
<https://forum.pspad.com/read.php?2,74289,74289>
PSPad freeware editor https://www.pspad.com

Odpovedet emailem