Author Topic: dofile from squirrel  (Read 2802 times)

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
dofile from squirrel
« on: June 13, 2013, 01:00:57 am »
Hello, it is late her, so i might have missed it, but is the "dofile" command from squirrel enabled in c::b?
if i type it in the script console i get
Code
AN ERROR HAS OCCURED [the index 'dofile' does not exist]

i thought c::b uses squirrel 2.2
http://www.squirrel-lang.org/doc/sqstdlib2.html
and there dofile exists. Is the stdlib not loaded in c::b?
if not: why not?
why yes:
I discovered that the variable expansion (and the script execution) is enabled in Tools+ Plug-in. This is great, but in the little textctrl of the tool command it is difficult to write a nice script, it would be great to call a script from there with "dofile()"

good night everybody in CET