Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
include
#1
Do the Squirrel have such function, that the include in C++ or require in Lua?


I found the dofile (http://www.squirrel-lang.org/forums/defa...sts&m=6475), but the debug console of the client write: 
Error: the index 'dofile' does not exist;
Reply
#2
Because GO using config file, for include scripts. Look at following line:
<script src="myscript.nut" type="client" />
Reply
#3
I know this. Just I won't include 20 or more file in a file.
But thx the answer.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How connect source file? (analigy #include) Kladvey 3 2,895 10.01.2016, 03:27
Last Post: Bimbol

Forum Jump:


Users browsing this thread: 1 Guest(s)