initial commit
This commit is contained in:
9
samples/include/bin/script.as
Normal file
9
samples/include/bin/script.as
Normal file
@@ -0,0 +1,9 @@
|
||||
// Let's include another script file
|
||||
#include "scriptinclude.as"
|
||||
|
||||
void main()
|
||||
{
|
||||
print("I'm now in main()\n");
|
||||
|
||||
includedFunction();
|
||||
}
|
10
samples/include/bin/scriptinclude.as
Normal file
10
samples/include/bin/scriptinclude.as
Normal file
@@ -0,0 +1,10 @@
|
||||
// This file is meant to be included from another script file
|
||||
|
||||
// We're allowed to include files in a circular manner, the
|
||||
// application will include each file only once anyway
|
||||
#include "script.as"
|
||||
|
||||
void includedFunction()
|
||||
{
|
||||
print("I'm now in includedFunction()\n");
|
||||
}
|
Reference in New Issue
Block a user